-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server config #655
base: 0.3.x
Are you sure you want to change the base?
Server config #655
Conversation
http/src/conn/implementation.rs
Outdated
Self::validate_headers(&request_headers)?; | ||
|
||
let mut response_headers = Headers::new(); | ||
response_headers.insert(Server, SERVER); |
Check failure
Code scanning / clippy
cannot find value `Server` in this scope
http/src/conn/implementation.rs
Outdated
Self::validate_headers(&request_headers)?; | ||
|
||
let mut response_headers = Headers::new(); | ||
response_headers.insert(Server, SERVER); |
Check failure
Code scanning / clippy
cannot find value `SERVER` in this scope
buffer, | ||
response_headers, | ||
status: None, | ||
state: TypeSet::new(), |
Check failure
Code scanning / clippy
failed to resolve: use of undeclared type `TypeSet`
response_body: None, | ||
request_body_state: ReceivedBodyState::Start, | ||
secure: false, | ||
after_send: AfterSend::default(), |
Check failure
Code scanning / clippy
failed to resolve: use of undeclared type `AfterSend`
http/src/conn/implementation.rs
Outdated
let first_space = spaces.next().ok_or(Error::MissingMethod)?; | ||
let method = Method::parse(&buffer[0..first_space])?; | ||
let second_space = spaces.next().ok_or(Error::RequestPathMissing)?; | ||
let path = str::from_utf8(&buffer[first_space + 1..second_space]) |
Check failure
Code scanning / clippy
no function or associated item named `from_utf8` found for type `str` in the current scope
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 0.3.x #655 +/- ##
==========================================
- Coverage 52.61% 52.17% -0.44%
==========================================
Files 198 205 +7
Lines 7534 7603 +69
==========================================
+ Hits 3964 3967 +3
- Misses 3570 3636 +66 ☔ View full report in Codecov by Sentry. |
1e006a2
to
034aa0f
Compare
closes #657