841 Commits

Author SHA1 Message Date
kennethreitz 390595e029 template 2018-07-04 11:00:38 -04:00
kennethreitz 6693e0d971 fix 2018-07-04 10:57:40 -04:00
kennethreitz 8f5464f5a3 updates 2018-07-04 10:57:10 -04:00
kennethreitz 4c3c256841 now.json 2018-07-04 10:49:39 -04:00
kennethreitz fdad46da30 only https 2018-07-04 10:48:14 -04:00
kennethreitz 665ec9710c labels for dockerfile 2018-07-04 10:01:51 -04:00
kennethreitz 5e9eeecdcd vscode 2018-07-04 10:01:38 -04:00
kennethreitz a578b69cc3 now 2018-07-04 09:55:10 -04:00
Brett Randall dd2513ae59 redirect_to: split arg process for GET vs POST/PATCH/PUT, so the latter use formData for parameters. Fixed #476.
POST/PUT only support formData body, not JSON.

Note that PATCH parameters do not appear in Swagger 2 UI.
2018-07-02 15:08:27 +10:00
Brett Randall d3d33de226 redirect_to: Added url and status_code as query-string parameters for SwaggerUI. Fixed #476. 2018-07-02 15:07:59 +10:00
Brett Randall 6374680e72 Consolidated httpbin version string into a single location in file VERSION.
Also added the new VERSION file to the manifest.

Signed-off-by: Brett Randall <javabrett@gmail.com>
2018-06-29 22:04:22 +10:00
Brett Randall 6d382e3eed Added long_description for setuptools.
Signed-off-by: Brett Randall <javabrett@gmail.com>
2018-06-29 22:03:47 +10:00
Nathan West b4a37294db Documented query parameters for drip 2018-06-28 18:43:03 -07:00
Brett Randall 7d4565afe6 Added a .dockerignore file to ignore Dockerfile, prevent it from breaking cache and being added to the image. 2018-06-29 10:33:37 +10:00
Severin Leonhardt 4a5e87e918 Support more HTTP methods for /delay 2018-06-14 15:22:07 +02:00
Brett Randall fae67e82bb Fixed README.[rst->md] path in MANIFEST.in.
Signed-off-by: Brett Randall <javabrett@gmail.com>
2018-05-29 11:02:51 +10:00
Brett Randall 7e594911d9 Removed requirements.txt from MANIFEST.in.
Signed-off-by: Brett Randall <javabrett@gmail.com>
2018-05-29 11:02:51 +10:00
kennethreitz c39f633236 Merge pull request #470 from javabrett/favicon
Add a favicon.ico
2018-05-28 20:58:50 -04:00
Brett Randall ea56eea091 Added a favicon.ico. Fixed #459. 2018-05-29 10:46:32 +10:00
Ian Stapleton Cordasco 62eeb39435 Merge pull request #469 from hkosova/typo-fix
Fix typo in parameter name
2018-05-25 12:20:41 -05:00
Helen Kosova 1f81491f71 Fixed a typo (credentails -> credentials) in a parameter name 2018-05-25 20:09:42 +03:00
Helen Kosova 379365f739 Set JSONIFY_PRETTYPRINT_REGULAR=True to pretty-print JSON responses 2018-05-25 11:55:15 +03:00
Helen Kosova fcef66c117 Replaced str.split() with slice 2018-05-25 11:18:34 +03:00
Helen Kosova 4dcfa3d47d Fixed incorrect Bearer token extraction and added tests 2018-05-24 20:38:29 +03:00
kennethreitz 4163debe38 Merge pull request #458 from steffenschroeder/master
Dockerfile improvements
2018-05-19 15:25:01 -04:00
Steffen Schröder d449969d1b Reduce the number of docker layers 2018-05-19 20:59:06 +02:00
Steffen Schröder 28247f47e6 Improve usage of docker build cache 2018-05-19 20:51:14 +02:00
Sanket Saurav 31ffe79981 Support show_env param in /headers
If `show_env` is True, then return all the headers without stripping `ENV_HEADERS`. This fixes #454.

Signed-off-by: Sanket Saurav <sanketsaurav@gmail.com>
2018-05-19 21:27:29 +05:30
kennethreitz 2f39ce3314 Merge pull request #456 from rochacbruno/producers
Producers
2018-05-18 19:25:10 -04:00
Bruno Rocha 6eaa53cf55 Added header placeholder and loader spinner (in case page takes long time to load) 2018-05-18 19:49:20 -03:00
Bruno Rocha 129766d7a5 Specified Content-Type/produces for each endpoint 2018-05-18 19:49:01 -03:00
kennethreitz 476824f695 alternative github icon
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-18 14:24:53 -04:00
kennethreitz c75b4b70a2 better github icon
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-18 14:21:48 -04:00
kennethreitz 6ae1a0b501 cleanup
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-18 14:17:34 -04:00
kennethreitz 72357232c5 Merge pull request #455 from rochacbruno/new_layot
Adjusts in layout + categorized endpoints
2018-05-18 14:06:42 -04:00
Bruno Rocha 3964addb87 Customized Swagger template 2018-05-18 15:00:38 -03:00
Bruno Rocha 695ad587c1 Added /json endpoint to match the /xml one 2018-05-18 14:59:39 -03:00
Bruno Rocha 6af8d6695b Tagged all the endpoints and added path to /legacy old site 2018-05-18 14:59:23 -03:00
Bruno Rocha c14cb78b9f Formatted description in 2 lines 2018-05-18 14:57:50 -03:00
Bruno Rocha c37321e13b Tracking exported as a global variable 2018-05-18 14:57:24 -03:00
kennethreitz 63a649f753 port 80
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-17 19:59:58 -04:00
kennethreitz 852febb0b0 Merge pull request #453 from requests/swagger
Swagger (WIP)
2018-05-17 19:46:54 -04:00
kennethreitz bf0f18d380 Merge branch 'swagger' of github.com:kennethreitz/httpbin into swagger 2018-05-17 19:44:48 -04:00
kennethreitz a8c8e69659 disable tests for tracking
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-17 19:44:01 -04:00
kennethreitz 140f29bceb Merge branch 'master' into swagger 2018-05-17 19:43:23 -04:00
kennethreitz 0377bf6dda swagger
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-17 19:40:53 -04:00
kennethreitz 7d6a7acb0d 3.6
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-17 19:25:39 -04:00
kennethreitz 26a4892f14 0.9.0
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-17 19:25:05 -04:00
kennethreitz e0d22761cf setup.py
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-17 19:24:47 -04:00
kennethreitz 9f15e09f49 swagger
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-05-17 19:23:40 -04:00