1
0
Fork 0
mirror of https://github.com/edgurgel/httparrot synced 2025-04-05 16:22:32 -04:00

Update README.md

[ci skip]
This commit is contained in:
Eduardo Gurgel 2014-01-30 12:39:00 -02:00
parent 42a093cc32
commit 36f62941a7

View file

@ -16,9 +16,9 @@ http://httpbin.org clone
* /gzip Returns gzip-encoded data. * /gzip Returns gzip-encoded data.
* /status/:code Returns given HTTP Status code. * /status/:code Returns given HTTP Status code.
* /response-headers?key=val Returns given response headers. * /response-headers?key=val Returns given response headers.
* /redirect/:n 302 Redirects n times. * /redirect/:n 301 Redirects n times.
* /redirect-to?url=foo 302 Redirects to the foo URL. * /redirect-to?url=foo 301 Redirects to the foo URL.
* /relative-redirect/:n 302 Relative redirects n times. * /relative-redirect/:n 301 Relative redirects n times.
* /cookies Returns cookie data. * /cookies Returns cookie data.
* /cookies/set?name=value Sets one or more simple cookies. * /cookies/set?name=value Sets one or more simple cookies.
* /cookies/delete?name Deletes one or more simple cookies. * /cookies/delete?name Deletes one or more simple cookies.
@ -36,9 +36,7 @@ http://httpbin.org clone
## TODO ## TODO
* / This page.
* /gzip Returns gzip-encoded data. * /gzip Returns gzip-encoded data.
* /response-headers?key=val Returns given response headers. * /response-headers?key=val Returns given response headers.
* /relative-redirect/:n 302 Relative redirects n times.
* /digest-auth/:qop/:user/:passwd Challenges HTTP Digest Auth. * /digest-auth/:qop/:user/:passwd Challenges HTTP Digest Auth.
* /cache Returns 200 unless an If-Modified-Since header is provided, when it returns a 304 Not Modified. * /cache Returns 200 unless an If-Modified-Since header is provided, when it returns a 304 Not Modified.