Find this version on PyPI or in the releases on GitHub.
- Handle all response and request headers;
- Get or set all cookies coming from the browser;
- Add or get the body of an HTTP response or request;
- Can get parameters from URL.
Find this version on PyPI or in the releases on GitHub.
- Adding
Response
class to create responses; - Removing direct use of the "make_response" function;
- New docstring added to methods and functions;
- Formatting URL arguments.
- 6ca2ed7 Assigning empty dictionary to "cookies" and "headers" attributes;
- 906bb0e Removing TABS and fixing conditions in _print.py;
- 379df60 Changing response log style.
Find this version on PyPI or in the releases on GitHub.
- Adding method name verification when registering a route;
- Adding functionality to get parameters of dynamic routes;
- Adding functionality to add dynamic routes;
- Plugin functionality for the application;
- Adding IPFilter plugin.
- ab0691` Moving routes variable to PySGI class;
- 7c7d6a1 Displaying query string in request log.
- ef2d24b Decoding the route path;
- 8652aeb Fixed data duplication errors.
Find this version on PyPI or in the releases on GitHub.
- 3c1cad2 Creating MANIFEST.in to include DESCRIPTION.md file;
Find this version on PyPI or in the releases on GitHub.
- cf042a0: Improving condition structure in _request.py;
- 4e9bf1c: Renaming "wrapper" function to "decorator";
- 5e5241c: Using parentheses to format the return string from ClientRequest's
repr
method.
Find this version on PyPI or in the releases on GitHub.
- 80d77e0: Fix argument name in decorator.
Find this version on PyPI or in the releases on GitHub.
- 5fa8b6a: Using HTTPPyParser to get request data.
Find this version on PyPI or in the releases on GitHub.
Find this version on PyPI or in the releases on GitHub.
- 8da5670: Fix
import error
adding version in setup.py.
Find this version on PyPI or in the releases on GitHub.
- f36386a: Handle
InvalidHTTPMessageError
and returning bad request error.
Find this version on PyPI or in the releases on GitHub.
- d9b026d: Fixing
request.args
attribute torequest.query
in documentation; - 077887b: Updating
http-pyparser
requirement version; - c9bda32: Changing
CHANGELOG.md
design.
Find this version on PyPI or in the releases on GitHub.
Find this version on PyPI or in the releases on GitHub.
- 533349b: Using
SocketHandler
instance asPySGI
attribute; - 65d8c37: Adding
client_host
attribute to request object; - 739769f: Getting
client_host
in IPFilter plugin; - f865e03: Removing accepted methods list;
- 18ebbe7: Creating
_routes
dict inside of instance; - a956f1c: Removing
use_environ
fromSocketHandler
; - 31b4623: Restructuring thread creating to handle requests;
- ed8c1bc: End line with "\r\n" in HTTP message.
Find this version on PyPI or in the releases on GitHub.
- 087b7ef: Adding
RequestData
class to store request data; - b11b80a: Setting content type if the body is a dictionary or list;
- bb90817: Getting IP machine if host is
0.0.0.0
; - 46a236e: Adding error message if server cannot be started;
- 521343a: Adding
_get_route_response
method in Request; - f9e3a5e: Removing
send_response
method fromSocketHandler
; - 1bf496b: Creating daemon threads to manage requests;
- 0683d35: Removing
plugins
import.
Find this version on PyPI or in the releases on GitHub.
- 64ac964: Adding
pysgi/utils
to packages in setup script.
Find this version on PyPI or in the releases on GitHub.
- 90fb4d1: Fix None value to query, headers and cookies in
ResponseData
Find this version on PyPI or in the releases on GitHub.
- 9b4bf50: Fix
TypeError
in argument type.