Benign cargo Download

error.rs

imports http::StatusCodeimports http::Version
SHA-256721f9a1b8d10c7717260fc2ea60e5508f5ce6de7e0fea69b8ccfa8699bb4c5f6
MaleculeMd(In₂)

Evidence

imports http::StatusCode lines 1–10
1use futures::{Async, Poll};
2
3use super::{helpers, HttpHandlerTask, Writer};
4use http::{StatusCode, Version};
5use Error;
6
7pub(crate) struct ServerError(Version, StatusCode);
8
9impl ServerError {
10 pub fn err(ver: Version, status: Stat …
English function-word token "for" lines 11–18
11:30… ver, status))
12 }
13}
14
15impl HttpHandlerTask for ServerError {
16 fn poll_io(&mut self, io: &mut Writer) -> Poll<bool, Error> {
17 {
18 …
English function-word token "and" lines 18–22
18:20… es = io.buffer();
19 // Buffer should have sufficient capacity for status line
20 // and extra space
21 bytes.reserve(helpers::STATUS_LINE_BUF_SIZE + 1);
22 helpers …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.