Giter Site home page Giter Site logo

Comments (7)

rmccue avatar rmccue commented on April 28, 2024

In addition, it should send the correct Location header (i.e. POST /status/303 -> /get, POST /status/307 -> /post)

from httpbin.

kennethreitz avatar kennethreitz commented on April 28, 2024

Sounds great to me.

from httpbin.

kyleconroy avatar kyleconroy commented on April 28, 2024

@kennethreitz Can we close this issue?

from httpbin.

kennethreitz avatar kennethreitz commented on April 28, 2024

🍰

from httpbin.

rmccue avatar rmccue commented on April 28, 2024

Did this get reverted? It doesn't appear to exist any more.

from httpbin.

aseemk avatar aseemk commented on April 28, 2024

+1 -- was hoping to test 307 with a PUT request. Thanks and great work! =)

from httpbin.

hairyhenderson avatar hairyhenderson commented on April 28, 2024

Looks like this disappeared somehow - any chance of this getting re-merged?

$ curl -s -I -X DELETE http://httpbin.org/status/303 | head -n1
HTTP/1.1 405 METHOD NOT ALLOWED

$ curl -s -I -X OPTIONS http://httpbin.org/status/303 | grep "Allow:"
Allow: OPTIONS, GET, HEAD

Also, there's no reason why this should be limited to a specific set of methods - we should be able to get any status for any method (including PATCH, TRACE, etc...).

from httpbin.

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.