mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
rename http_parser.py to parser.py we are already in http module
This commit is contained in:
parent
2393e21ddc
commit
ec644bdf90
@ -3,6 +3,6 @@
|
|||||||
# This file is part of gunicorn released under the MIT license.
|
# This file is part of gunicorn released under the MIT license.
|
||||||
# See the NOTICE for more information.
|
# See the NOTICE for more information.
|
||||||
|
|
||||||
from gunicorn.http.http_parser import HttpParser
|
from gunicorn.http.parser import HttpParser
|
||||||
from gunicorn.http.request import HttpRequest, RequestError
|
from gunicorn.http.request import HttpRequest, RequestError
|
||||||
from gunicorn.http.response import HttpResponse
|
from gunicorn.http.response import HttpResponse
|
||||||
@ -130,7 +130,6 @@ class HttpParser(object):
|
|||||||
|
|
||||||
def body_eof(self):
|
def body_eof(self):
|
||||||
"""do we have all the body ?"""
|
"""do we have all the body ?"""
|
||||||
import sys
|
|
||||||
if self.is_chunked:
|
if self.is_chunked:
|
||||||
if self._chunk_eof:
|
if self._chunk_eof:
|
||||||
return True
|
return True
|
||||||
@ -15,7 +15,7 @@ import array
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
from gunicorn import __version__
|
from gunicorn import __version__
|
||||||
from gunicorn.http.http_parser import HttpParser
|
from gunicorn.http.parser import HttpParser
|
||||||
from gunicorn.http.tee import TeeInput
|
from gunicorn.http.tee import TeeInput
|
||||||
from gunicorn.util import CHUNK_SIZE, read_partial, \
|
from gunicorn.util import CHUNK_SIZE, read_partial, \
|
||||||
normalize_name
|
normalize_name
|
||||||
|
|||||||
@ -12,7 +12,7 @@ import unittest
|
|||||||
|
|
||||||
dirname = os.path.dirname(__file__)
|
dirname = os.path.dirname(__file__)
|
||||||
|
|
||||||
from gunicorn.http.http_parser import HttpParser
|
from gunicorn.http.parser import HttpParser
|
||||||
from gunicorn.http.request import HttpRequest
|
from gunicorn.http.request import HttpRequest
|
||||||
|
|
||||||
def data_source(fname):
|
def data_source(fname):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user