uv
12eedb1c - Include `Accept` header specifying that we can only parse JSON responses (#701)

Comment changes are shownComment changes are hidden
Commit
1 year ago
Include `Accept` header specifying that we can only parse JSON responses (#701) Otherwise, when an index does not support the query variable we get an HTML response and a JSON parse error.
Author
Parents
  • crates/puffin-client/src
    • File
      registry_client.rs