Skip to content

Commit

Permalink
specify all supported content_types in accept
Browse files Browse the repository at this point in the history
  • Loading branch information
shouya committed Feb 4, 2024
1 parent 1d24a6f commit ece6b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/endpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ impl EndpointService {
let resp = self
.client
.get_with(source, |builder| {
builder.header("Accept", "text/html,application/xml")
builder.header("Accept", "text/html,application/xml,text/xml,application/rss+xml,application/atom+xml")
})
.await?
.error_for_status()?;
Expand Down

0 comments on commit ece6b29

Please sign in to comment.