RFC9698 - JMAPACCESS Extension for IMAP
This commit is contained in:
@@ -347,7 +347,7 @@ async fn https(
|
||||
}
|
||||
|
||||
fn get_header(response: &Response, header: &'static str) -> trc::Result<String> {
|
||||
match response.headers().get_all(header).iter().last() {
|
||||
match response.headers().get_all(header).iter().next_back() {
|
||||
Some(value) => Ok(value
|
||||
.to_str()
|
||||
.map_err(|err| trc::EventType::Acme(trc::AcmeEvent::Error).from_http_str_error(err))?
|
||||
|
||||
@@ -258,8 +258,7 @@ impl Subscriber {
|
||||
|
||||
#[cfg(all(unix, not(target_os = "linux")))]
|
||||
fn send_large_payload(&self, _payload: &[u8]) -> io::Result<usize> {
|
||||
Err(io::Error::new(
|
||||
io::ErrorKind::Other,
|
||||
Err(std::io::Error::other(
|
||||
"Large payloads not supported on non-Linux OS",
|
||||
))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user