- Improve HTTP request line validation:
  * Improve HTTP version parsing
- Fix HTTP CONNECT method processing:
  * Respond with ``405 Method Not Allowed`` if ``proxy_mode is False``
  * Validate that request-target is in authority-form
- Improve tests in ``test.test_core``
- Fix EPROTOTYPE @ Mac OS

v5.8.2
- Fix 39 regression. Add HTTP request line check:
  absolute URI path must start with a
  forward slash ("/").
This commit is contained in:
adam 2017-08-22 08:22:18 +00:00
parent 5bbbee2d3d
commit 4c15c968f7
2 changed files with 8 additions and 7 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.6 2017/08/06 19:28:14 adam Exp $
# $NetBSD: Makefile,v 1.7 2017/08/22 08:22:18 adam Exp $
DISTNAME= cheroot-5.8.1
DISTNAME= cheroot-5.8.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=C/Cheroot/}
@ -13,6 +13,7 @@ LICENSE= modified-bsd
USE_LANGUAGES= # none
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
BUILD_DEPENDS+= ${PYPKGPREFIX}-test>=2.8::../../devel/py-test
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
.include "../../lang/python/egg.mk"

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.5 2017/08/06 19:28:14 adam Exp $
$NetBSD: distinfo,v 1.6 2017/08/22 08:22:18 adam Exp $
SHA1 (cheroot-5.8.1.tar.gz) = d932d98c5f5cdaa97b6c9a90527aa8872ca1d403
RMD160 (cheroot-5.8.1.tar.gz) = 42bab75a4ece8ce21729dab95995f1abc7bf6f09
SHA512 (cheroot-5.8.1.tar.gz) = 7b4c49a565af1a90401b22e6b27798b7b51f70f3667c0c2ab3985dca32320bc6ff5bd590483e8288558a5c7ef40d367c339118f4d495b379757d305c1df8076f
Size (cheroot-5.8.1.tar.gz) = 62923 bytes
SHA1 (cheroot-5.8.3.tar.gz) = 6573a2bed0c4562807cb59d9b8fc655c3623728e
RMD160 (cheroot-5.8.3.tar.gz) = 0f5cc2998d3d68162fe2e1b84e16f527d663f064
SHA512 (cheroot-5.8.3.tar.gz) = 8aaffd0a5a941bcfb1d24b4d7f95e10d595a4ae6f0a9957cc19dc3620a1318473956743faa50b2df58bc4db6969659d4a7c8228672bb39792417976d1312c4b6
Size (cheroot-5.8.3.tar.gz) = 64083 bytes