Rodrigo Chacon
faf559dcf5
Removing redundancy
2013-04-24 19:33:18 -03:00
Rodrigo Chacon
50ddd78b89
PEP8
2013-04-24 19:33:18 -03:00
Rodrigo Chacon
11a8c78aa5
Adding support for preflight request headers
...
Just as stated in http://www.w3.org/TR/cors/#preflight-request , we must return some extra headers when dealing with preflight (HTTP OPTIONS method) requests.
2013-04-24 19:33:18 -03:00
Rodrigo Chacon
61bed33f24
Adding CORS support for all requests
2013-04-24 19:33:18 -03:00
Rodrigo Chacon
98ed28b547
Merge remote-tracking branch 'upstream/master'
2013-04-24 19:32:55 -03:00
Kenneth Reitz
be67845201
ip address
2013-04-23 22:23:40 -04:00
Kenneth Reitz
d992e07e13
no runtime
2013-04-23 20:53:11 -04:00
Kenneth Reitz
227901aa80
pypy
2013-03-10 19:00:39 -04:00
Kenneth Reitz
1b6b615286
6 workers
2013-03-10 18:45:43 -04:00
Kenneth Reitz
6040a4a896
Merge pull request #67 from senko/showenv-doc
...
README: add https + show_env example
2013-01-27 01:51:46 -08:00
Kenneth Reitz
278901314a
Merge pull request #63 from snh/cookiedelete
...
New delete cookie endpoint.
2013-01-27 01:51:26 -08:00
Kenneth Reitz
812befc72b
PATCH again!
2013-01-21 08:05:32 -05:00
Kenneth Reitz
d0de69445d
python-2.7.3
2013-01-02 20:48:51 -05:00
Kenneth Reitz
44658438f5
test
2013-01-02 20:37:38 -05:00
Kenneth Reitz
2549e7068b
newline
2013-01-02 20:36:38 -05:00
Kenneth Reitz
0742c08553
runtime
2013-01-02 20:32:21 -05:00
Kenneth Reitz
440b25c822
2.7.3
2013-01-01 13:12:00 -05:00
Kenneth Reitz
6682f6cefc
gah
2012-12-20 03:33:45 -05:00
Kenneth Reitz
a2f490c721
runtime
2012-12-20 03:08:03 -05:00
Kenneth Reitz
059595806f
Merge remote-tracking branch 'origin/master'
2012-12-20 03:07:26 -05:00
Kenneth Reitz
b387ee2dea
simplify
2012-12-20 02:47:15 -05:00
Kenneth Reitz
137f0d44aa
10 instead
2012-12-06 16:28:04 -05:00
Kenneth Reitz
9dbcdeaa69
get counter instead
2012-12-06 16:22:25 -05:00
Kenneth Reitz
a0c43749fd
no debug
2012-12-06 16:17:37 -05:00
Kenneth Reitz
ff198f32bc
better
2012-12-06 16:17:17 -05:00
Kenneth Reitz
90764a3678
oops
2012-12-06 16:15:40 -05:00
Kenneth Reitz
8ca9909f8f
librato
2012-12-06 16:12:40 -05:00
Kenneth Reitz
4e3495643d
no newrelic
2012-12-06 16:09:05 -05:00
Kenneth Reitz
f98a2b14f9
librato
2012-12-06 16:07:53 -05:00
Kenneth Reitz
37fd292137
Merge pull request #73 from piotr-dobrogost/master
...
Removed unused and/or undocumented dependencies.
2012-10-30 17:30:07 -07:00
Piotr Dobrogost
ee0644b188
Removed unused and/or undocumented dependencies.
...
Fixes issue #69
2012-10-27 23:58:25 +02:00
Kenneth Reitz
e981935f8f
Merge pull request #72 from piotr-dobrogost/master
...
remove empty file httpbin/templates/... which is not a valid file's name under Windows
2012-10-27 08:47:36 -07:00
Piotr Dobrogost
dd7730bef7
remove empty file httpbin/templates/... which is not a valid file's name under Windows. fixes issue 70
2012-10-24 11:51:30 +02:00
Senko Rasic
faf0fea1b2
README: add https + show_env example
...
Showcase a useful but undocumented feature of reporting what protocol
the request was made over (amongst other info).
2012-10-12 17:06:46 +02:00
Kenneth Reitz
15d132f76e
Merge pull request #65 from josher19/patch-1
...
Update httpbin/core.py
2012-09-09 22:43:58 -07:00
josher19
24488f849f
Update httpbin/core.py
...
302 instead of 301 redirect in docs for def relative_redirect_n_times
2012-09-10 13:43:01 +08:00
Kenneth Reitz
a8b97f093b
9 workers
2012-08-28 13:33:32 -04:00
Steven Honson
08f8f0b516
Updated example linked to include two deletions.
2012-08-20 23:40:45 +10:00
Steven Honson
6287af8186
New delete cookie endpoint.
2012-08-20 23:35:03 +10:00
Kenneth Reitz
cfbee2b939
\0/
2012-08-20 22:14:09 +10:00
Kenneth Reitz
dcf4f003b8
Merge pull request #62 from snh/multiplecookies
...
Support for setting multiple cookies in a single request.
2012-08-20 05:08:35 -07:00
Steven Honson
b1196a239b
Support for setting multiple cookies in a single request.
2012-08-20 21:54:27 +10:00
Kenneth Reitz
46e00b7d1a
Revert "Use gevent.sleep to make the program non-blocking"
...
This reverts commit d96dd79579 .
2012-08-20 15:45:21 +10:00
Kenneth Reitz
69ca392630
Merge pull request #60 from randomir/master
...
Bugfix: JSON-safe encoding of raw binary data/files
2012-08-19 22:41:29 -07:00
Radomir Stevanovic
9a56bb8dd0
bugfix: JSON-safe encoding of raw binary data/files
...
Encoding of the received files and/or body data was failing in case of raw
binary data being POSTed/PUT/etc. (The exact trigger was actually a non-UTF-8
data stream, since Flask's `jsonify`, i.e. `simplejson.dumps` assumes UTF-8.)
Binary data in a JSON response are now encoded as "data" URLs, according to
RFC 2397. "Data" URL scheme was chosen for its simplicity and clarity. MIME
type is included. Plain text is passed thru unmodified, as before.
Also, tests demonstrating the bug/fix added to `test_httpbin.py`.
2012-08-14 22:57:35 +02:00
Kenneth Reitz
6e53707c3a
Merge pull request #59 from randomir/master
...
few repo init fixes (git-, pip-, test-related)
2012-08-14 11:57:49 -07:00
Radomir Stevanovic
213d03a090
init fixes (git, pip & test related)
...
- gitignored: *.pyc, env/
- gevent added to requirements.txt
- test_httpbin syntax error fix
2012-08-14 20:43:35 +02:00
Kenneth Reitz
7da93c1877
Merge pull request #58 from mnunberg/master
...
Some fixes
2012-08-12 21:03:32 -07:00
Mark Nunberg
d96dd79579
Use gevent.sleep to make the program non-blocking
2012-08-02 17:56:51 -07:00
Mark Nunberg
ad8d69e4c5
Use pywsgi.py instead of wsgi (better chunked handling)
2012-08-02 17:56:28 -07:00