Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Unified Diff: net/tools/testserver/testserver.py

Issue 173049: Revert r23616 from 172. (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/branches/172/src/
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/proxy/proxy_script_fetcher.cc ('k') | net/url_request/url_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/testserver/testserver.py
===================================================================
--- net/tools/testserver/testserver.py (revision 23699)
+++ net/tools/testserver/testserver.py (working copy)
@@ -569,10 +569,6 @@
if not self.path.startswith(prefix):
return False
- # Consume a request body if present.
- if self.command == 'POST':
- self.rfile.read(int(self.headers.getheader('content-length')))
-
file = self.path[len(prefix):]
entries = file.split('/');
path = os.path.join(self.server.data_dir, *entries)
Property changes on: net\tools\testserver\testserver.py
___________________________________________________________________
Modified: svn:mergeinfo
Reverse-merged /trunk/src/net/tools/testserver/testserver.py:r14162,15308,16015,16808,21417
Merged /trunk/src/net/tools/testserver/testserver.py:r22067
« no previous file with comments | « net/proxy/proxy_script_fetcher.cc ('k') | net/url_request/url_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698