Commit Graph

536 Commits

Author SHA1 Message Date
Waldir Pimenta b97fb7a97a add license title
It's not strictly required, but it's useful metadata, and part of the recommended license template text (see http://choosealicense.com/licenses/isc/ and https://opensource.org/licenses/isc-license)
2016-06-30 10:54:05 +01:00
Ian Cordasco 3bb7b8f9aa Merge pull request #253 from s-chizhik/feature
Add ability to specify port/host to run on
2016-03-20 13:51:31 -05:00
Ian Cordasco dee15b5c7f Merge pull request #271 from mozillazg/fix-not-in
`not x in` -> `x not in`
2016-02-10 20:31:41 -06:00
Ian Cordasco 9efbdefcdc Merge pull request #272 from mozillazg/remove-_encoded
remove unused variable '_encoded'
2016-02-10 20:31:25 -06:00
Ian Cordasco 15ed6f7a5f Merge pull request #273 from mozillazg/patch-1
str.lower(k) -> k.lower()
2016-02-10 20:31:05 -06:00
Ian Cordasco 74af8f2055 Merge pull request #276 from sigmavirus24/add-release-machinery
Add machinery to create/upload releases
2016-02-10 20:30:49 -06:00
Ian Cordasco dc7e81c4a1 Add machinery to create/upload releases
This uses twine to upload wheels and source distributions that we create
for httpbin.
2016-01-27 10:33:59 -06:00
mozillazg 887b86059b str.lower(k) -> k.lower() 2016-01-08 22:52:46 +08:00
mozillazg b4e6ab220d remove unused variable '_encoded' 2016-01-08 19:18:02 +08:00
mozillazg 82bbde7c73 not x in -> x not in 2016-01-08 14:49:49 +08:00
Ian Cordasco 5433f799e8 Merge pull request #270 from 0-wiz-0/master
Avoid UTF-8 characters to let setup.py run in ASCII locale.

Closes #269
2016-01-05 08:47:29 -06:00
Thomas Klausner 677c1a4120 Avoid UTF-8 characters to let setup.py run in ASCII locale. 2016-01-05 15:12:52 +01:00
Ian Cordasco 55faeb3cfb Merge pull request #268 from Runscope/gevent-1.0.2
Upgrade gevent to 1.0.2
2015-12-22 22:37:14 -06:00
Garrett Heel 1243beb4c1 Upgrade gevent to 1.0.2 2015-12-22 16:16:22 -08:00
Ian Cordasco 5afd1e9f60 Merge pull request #267 from luhkevin/luhkevin/pull/277
Changelog and setup updated for floating point support
2015-11-26 10:48:35 -06:00
Kevin Lu a016d78df8 Changelog and setup updated to 0.4.1; floating-point support for /delay endpoint 2015-11-25 21:39:49 -08:00
Ian Cordasco 6cdc1fb4f6 Merge pull request #266 from luhkevin/dev
Floating point type conversion
2015-11-25 08:06:50 -06:00
Kevin Lu b91e515929 Converted delay parameter to float from unicode 2015-11-24 22:17:13 -08:00
Ian Cordasco 4763d47614 Merge branch 'floating-point-delay'
Closes #265
2015-11-22 08:42:51 -06:00
Kevin Lu eef6c0f665 Remove int constraint on delay
This allows the delay endpoint to accept floats as delay values.
2015-11-22 08:40:22 -06:00
Ian Cordasco 762079cbd3 Merge pull request #264 from JensRantil/clarify-upper-limits
doc(limits): make the upper limit more explicit
2015-11-19 08:11:53 -06:00
Jens Rantil 21f8d4231c doc(limits): make the upper limit more explicit
I understood it as subtraction (and didn't understand why it was
subtracting).
2015-11-19 10:19:54 +01:00
Kevin McCarthy c688307868 bump version 2015-10-22 09:03:06 -10:00
Ian Cordasco 9be2a362f6 Merge pull request #259 from Lukasa/chunked
Do not forcefully emit Transfer-Encoding header
2015-10-22 12:24:12 -05:00
Cory Benfield 34a4381cdd Do not forcefully emit Transfer-Encoding header 2015-10-22 12:11:14 +01:00
Ian Cordasco 3cab86a915 Merge pull request #258 from kennethreitz/patch-2
Add Deploy to Heroku button
2015-10-20 15:22:16 -05:00
kennethreitz 3c1937f5ce Add Deploy to Heroku button 2015-10-20 09:57:01 -04:00
Ian Cordasco d21fa82f99 Merge pull request #256 from kennethreitz/patch-1
update to latest python 2.7
2015-10-09 08:58:01 -05:00
kennethreitz 957083b3d2 update to latest python 2.7 2015-10-09 09:46:48 -04:00
Sergey Chizhik 2b83b98fbf Default value instead of ternaries 2015-10-06 18:57:07 +03:00
Sergey Chizhik 936e49b4e9 sys > argparse, fix readme 2015-10-06 17:58:10 +03:00
Sergey Chizhik 53a286ee15 Add ability to specify port,host to run on 2015-10-04 10:58:14 +03:00
Ian Cordasco efa9ae96dc Merge pull request #250 from phouse512/master
Added 406 unsupported media type response to /image
2015-09-17 11:36:43 -05:00
phouse512 2c51804e0b Added 406 unsupported media type response to /image 2015-09-17 08:36:47 -05:00
Ian Cordasco 01a9a4dd9b Merge pull request #249 from tehnomaag/master
Added SVG image serving support under /image and /image/svg
2015-09-10 11:04:12 -05:00
Erki Esken 63c2287b4d Added /image/svg info to docs, clarified /image route description. 2015-09-09 16:21:24 +03:00
Erki Esken b1067077f5 Added SVG image serving support under /image and /image/svg 2015-09-09 16:06:36 +03:00
Kevin McCarthy 8d0f835b54 version bump to v0.3.0 2015-09-05 18:25:18 -10:00
Ian Cordasco 7586d704a2 Merge pull request #246 from The-Compiler/tracking-scripts
Turn off tracking unless HTTPBIN_TRACKING is set.
2015-09-05 20:26:28 -05:00
Florian Bruhin 355e1f4fc7 Do env variable handling outside of template. 2015-08-31 21:55:44 +02:00
John Sheehan 2f5fbdf8ae Merge pull request #247 from The-Compiler/spelling
Fix DELETE spelling in docstring.
2015-08-31 12:46:11 -07:00
Florian Bruhin cca7119a60 Fix DELETE spelling in docstring. 2015-08-31 20:51:39 +02:00
Florian Bruhin 6858420e24 Turn off tracking unless HTTPBIN_TRACKING is set.
Fixes #245.
2015-08-31 20:49:12 +02:00
Ian Cordasco 39009b9a8c Merge pull request #239 from tatsuhiro-t/use-url-for
Use url_for to resolve path instead of hard coding it
2015-07-12 21:13:31 -05:00
Tatsuhiro Tsujikawa 88a7e1966d Use url_for to resolve path instead of hard coding it
Using url_for is useful if httpbin is served under a prefix path.  For
example, we can serve httpbin under http://example.org/httpbin.
Previously, we have to replace all hard coded paths, which produces
many diffs, and it makes hard to upgrade httpbin from source.  This
commit uses url_for to resolve correct path even if prefix path is
used.  For digest auth, we have to prepend request.script_root to
request.path to pass authentication.
2015-07-11 01:52:16 +09:00
Darrel 811d0d5177 Fixed /image when accept header not present #225 2015-06-01 11:10:33 -04:00
John Sheehan 9d946b5f0c Merge pull request #222 from ant1441/patch-1
Fix MANIFEST.in for README and templates/images
2015-04-05 12:43:43 -07:00
Adam ae8a4d7f50 Fix MANIFEST.in
* Fix README filename
* Use recursive-include for templates dir to make sure images are included
2015-04-05 20:36:51 +01:00
John Sheehan 1e0e26e3cd Merge pull request #220 from frdmn/bug/hurl-link-fix
Fix hurl.it links
2015-03-07 12:22:17 -08:00
Jonas Friedmann 7fca5adcb8 Fix hurl.it links 2015-03-07 21:19:46 +01:00