search for: http_origin

Displaying 2 results from an estimated 2 matches for "http_origin".

2012 Nov 30
1
q@ request.request_method=='OPTIONS', ajax, post json
...true, url: "http://someserver/foo.json", data: {test:999}, in application_controller.rb i have this in a before filter: def cors p "calling - CORS" p request.request_method #<< this is "POST" instead of the expected OPTIONS p request.headers["HTTP_ORIGIN"] #<< this is http://localhost from which im posting head(:ok) if true # request.request_method == "OPTIONS" end also in the browser inspection i see only the actual post, not the preflight request sending the OPTIONS. am i on a wrong track here? thx -- You received...
2012 Mar 22
0
problems configuring cluster to lucci and virtual machines resource
...#39;max-age=0' HTTP_CONNECTION: 'keep-alive' HTTP_COOKIE: 'tabCookie=0; expertMode=0; luci=ac68c9121cd1d044ebf15a2f2ec3db1252bb2ba7148b8328446d88a7323307db9627c40a; auth_tkt="63c7278294e41b63fce01b6af2eef3124f6b26ddroot!"' HTTP_HOST: '192.168.0.88:4443' HTTP_ORIGIN: 'https://192.168.0.88:4443' HTTP_REFERER: ' https://192.168.0.88:4443/cluster/machines/services/centos_vm' HTTP_USER_AGENT: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11' PATH_INFO: '/cluster/machines/serv...