Commit Graph

274 Commits

Author SHA1 Message Date
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
Kenneth Reitz c2ed9a1aed Merge pull request #51 from FlaPer87/master
Missing html! Ops!
2012-07-01 12:50:55 -07:00
Flavio Percoco Premoli 6a3a2fb63a updated README 2012-06-30 02:08:36 +02:00
Flavio Percoco Premoli 85c207c001 missing html 2012-06-30 02:01:23 +02:00
Kenneth Reitz 47170273c3 Merge pull request #50 from FlaPer87/master
Robots Support and Simple Html response
2012-06-29 16:56:34 -07:00
Flavio Percoco Premoli 62657b203d Added support for:
* Robots.txt requests which is usefule for robots rules tests.
    * Robots denied page (/deny)
    * Simple html page for views / calls that expect an html.
2012-06-30 01:52:42 +02:00
Kenneth Reitz 2299db88e4 typo 2012-06-09 11:19:14 -04:00
Kenneth Reitz c7a02cc3ab eventlet now 2012-06-09 11:17:42 -04:00
Kenneth Reitz 07e9afab24 remove gevent temporarily 2012-06-09 11:15:54 -04:00
Kenneth Reitz 8c390dc0a3 remove cruft 2012-06-09 11:13:39 -04:00
Kenneth Reitz 182f80b8ab raven and newrelic 2012-06-09 11:07:24 -04:00
Kenneth Reitz 7c4d4643d9 update requirements 2012-06-09 11:06:31 -04:00
Kenneth Reitz 0cbf9c32bd catch rewrelic import 2012-06-09 10:55:23 -04:00
Kenneth Reitz 9594b23efc fix syntax error 2012-06-05 10:35:31 +02:00
Kenneth Reitz bc4444acfc data fix for json 2012-06-05 10:32:23 +02:00
Kenneth Reitz 49b9635304 fix banner 2012-06-05 10:28:16 +02:00
Kenneth Reitz b7437b408b Merge pull request #48 from mkomitee/master
401 is a more proper status_code for failed authentication
2012-06-05 01:22:44 -07:00
Michael Komitee 98ed988b76 401 is the proper status code for failed authentication here:
10.4.2 401 Unauthorized

The request requires user authentication. The response MUST include a
WWW-Authenticate header field (section 14.47) containing a challenge applicable
to the requested resource. The client MAY repeat the request with a suitable
Authorization header field (section 14.8). If the request already included
Authorization credentials, then the 401 response indicates that authorization
has been refused for those credentials. If the 401 response contains the same
challenge as the prior response, and the user agent has already attempted
authentication at least once, then the user SHOULD be presented the entity that
was given in the response, since that entity might include relevant diagnostic
information. HTTP access authentication is explained in "HTTP Authentication:
Basic and Digest Access Authentication" [43].

10.4.4 403 Forbidden

The server understood the request, but is refusing to fulfill it. Authorization
will not help and the request SHOULD NOT be repeated. If the request method was
not HEAD and the server wishes to make public why the request has not been
fulfilled, it SHOULD describe the reason for the refusal in the entity. If the
server does not wish to make this information available to the client, the
status code 404 (Not Found) can be used instead.
2012-06-01 16:43:50 -04:00
Kenneth Reitz 32d397c43d Merge pull request #44 from faulkner/fix-readme-delay
Fix broken example link for delay endpoint.
2012-04-04 13:14:57 -07:00
Chris Faulkner 6ac9dfe029 Fix broken example link for delay endpoint. 2012-04-04 11:44:20 -07:00
Kenneth Reitz 247b94812a Merge remote-tracking branch 'origin/master' 2012-04-03 15:24:04 -04:00
Kenneth Reitz 4aac7c943a pay me 2012-04-03 15:21:47 -04:00
Kenneth Reitz 502fae2e0a pay me 2012-04-03 15:20:05 -04:00
Kenneth Reitz a89645447b whitespace 2012-03-29 13:43:50 -04:00
Kenneth Reitz c165123b98 fix json import 2012-03-29 13:36:34 -04:00
Kenneth Reitz 3e915b7b14 import stupid 2012-03-29 12:18:21 -04:00
Kenneth Reitz cb2b044a34 hmm 2012-03-24 00:02:04 -04:00
Kenneth Reitz 1cdcaa7cde white space 2012-03-23 23:56:08 -04:00
Kenneth Reitz aba6899d90 Merge pull request #41 from umbrae/master
Simple redirect_to resource
2012-02-28 10:34:14 -08:00
Chris Dary c4895849cc UTF8 Encoding 2012-02-28 11:31:58 -05:00
Chris Dary 295dc90db6 Redirect-to now uses a query param instead. 2012-02-28 10:43:08 -05:00
Chris Dary 9e277be559 Some spelling fixes. 2012-02-28 10:02:36 -05:00
Chris Dary 7de330b2fc Add redirect_to functionality. 2012-02-28 10:02:36 -05:00
Kenneth Reitz c311926ea6 Merge pull request #39 from derferman/status
Add POST PUT and DELETE to the status endpoint
2012-02-27 07:31:39 -08:00
Kenneth Reitz 8d93fc406a Merge pull request #40 from derferman/https
Show correct scheme in urls
2012-02-27 07:30:01 -08:00
Kyle Conroy 5eb1c9ad0d Remove app.debug 2012-02-26 22:38:17 -08:00
Kyle Conroy 38d04e0bb9 Show proper scheme in urls 2012-02-26 22:35:36 -08:00
Kyle Conroy 16f7ab8c70 Remove very broken JSON stuff 2012-02-26 22:23:02 -08:00
Kyle Conroy da07bb6675 Add POST PUT and DELETE to the status endpoint 2012-02-26 21:59:34 -08:00
Kenneth Reitz 309888134b Merge pull request #38 from piotr-dobrogost/master
accessing sys.argv can raise IndexError but not KeyError
2012-02-26 11:00:45 -08:00
Piotr Dobrogost 0826ed75d9 this can raise IndexError but not KeyError 2012-02-26 19:48:17 +01:00
Kenneth Reitz 43872ceeec Merge remote-tracking branch 'origin/master' 2012-02-24 23:06:18 -05:00
Kenneth Reitz 9fed08dc0f json 2012-02-24 23:06:12 -05:00
Kenneth Reitz ac8832934f Merge pull request #35 from tomviner/patch-1
You chopped my R's off
2012-02-21 01:04:24 -08:00
TomV eda6e70bb8 typo "eturns" 2012-02-20 23:25:59 +00:00
Tom V f172f59359 typo "eturns" 2012-02-20 23:22:21 +00:00
Kenneth Reitz f61dd74026 X-Forwarded-Port 2012-02-20 13:29:14 -05:00
Kenneth Reitz 9922fd76c9 cleanup 2012-02-20 13:29:11 -05:00
Kenneth Reitz 5da009e330 document limits 2012-02-20 13:24:42 -05:00