A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/seleniumhq/selenium/commit/d0b95a04a5aaaa88bfcd10705b8231ba44e5b774 below:

[grid] Adding handler for options when using cors and creating a session · SeleniumHQ/selenium@d0b95a0 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+3

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+3

-0

lines changed Original file line number Diff line number Diff line change

@@ -44,6 +44,7 @@

44 44

import static org.openqa.selenium.remote.http.Route.combine;

45 45

import static org.openqa.selenium.remote.http.Route.delete;

46 46

import static org.openqa.selenium.remote.http.Route.get;

47 +

import static org.openqa.selenium.remote.http.Route.options;

47 48

import static org.openqa.selenium.remote.http.Route.post;

48 49 49 50

public abstract class NewSessionQueue implements HasReadyState, Routable {

@@ -67,6 +68,8 @@ protected NewSessionQueue(Tracer tracer, Secret registrationSecret) {

67 68

);

68 69

return addToQueue(sessionRequest);

69 70

}),

71 +

options("/session")

72 +

.to(() -> req -> new HttpResponse()),

70 73

post("/se/grid/newsessionqueue/session")

71 74

.to(() -> new AddToSessionQueue(tracer, this))

72 75

.with(requiresSecret),

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4