Reorganize HTTP component (#4575)
* Move HTTP to own folder * Break HTTP into middlewares * Lint * Split tests per middleware * Clean up HTTP tests * Make HomeAssistantViews more stateless * Lint * Make HTTP setup async
This commit is contained in:
1 parent
58b85b2e0e
commit
32ffd006fa
35 files changed
+1318
-1084
No files matched your search
@@ -360,7 +360,6 @@ HTTP_HEADER_CONTENT_LENGTH = 'Content-Length'
|
||||
HTTP_HEADER_CACHE_CONTROL = 'Cache-Control'
|
||||
HTTP_HEADER_EXPIRES = 'Expires'
|
||||
HTTP_HEADER_ORIGIN = 'Origin'
|
||||
HTTP_HEADER_X_FORWARDED_FOR = 'X-Forwarded-For'
|
||||
HTTP_HEADER_X_REQUESTED_WITH = 'X-Requested-With'
|
||||
HTTP_HEADER_ACCEPT = 'Accept'
|
||||
HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN = 'Access-Control-Allow-Origin'
|
||||
|
||||
Reference in new issue
Block a user