Giter Site home page Giter Site logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
"Set-Cookie" header sent with request to server do nothing. It do not set's any 
cookie value. Only "Cookie" and "Cookie2" headers are valid to servers as a 
cookie values. 
Normally server will treat "Set-Cookie" header as a custom header value.
But it is not possible to set "Cookie" header because specification not allow 
it.
See http://www.w3.org/TR/XMLHttpRequest/#the-setrequestheader-method for more 
information.

Original comment by [email protected] on 6 Jan 2012 at 11:30

  • Changed state: WontFix

from chrome-rest-client.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
Thank you for your reply.  This is a testing tool, very useful for accessing 
individual RESTful services.  Sometimes, we do not have access to a service 
that sets the appropriate cookies in the browser.  Instead, we are given 
example cookie values to pass to another service, which we could then enter in 
the header.

If the problem is with the Advanced REST Client using XMLHttpRequest 
internally, maybe another approach would allow the setting of cookies.  It is 
possible for a Chrome extension to set a browser cookie; see, for example, 
Cookie Manager 
(https://chrome.google.com/webstore/detail/kbnfbcpkiaganjpcanopcgeoehkleeck).  
I wonder if similar functionality of setting a cookie would be possible from 
your app.

Original comment by [email protected] on 6 Jan 2012 at 5:21

from chrome-rest-client.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
Looks like this restriction is on Chrome's side:

https://code.google.com/p/chromium/issues/detail?id=171220

Original comment by [email protected] on 2 Oct 2013 at 4:59

from chrome-rest-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.