-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
feat(gateway): JSON and CBOR response formats (IPIP-328) #9335
Commits on Nov 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ac8f9b1 - Browse repository at this point
Copy the full SHA ac8f9b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dce012 - Browse repository at this point
Copy the full SHA 3dce012View commit details -
Configuration menu - View commit details
-
Copy full SHA for b557181 - Browse repository at this point
Copy the full SHA b557181View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4104bb7 - Browse repository at this point
Copy the full SHA 4104bb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25893c5 - Browse repository at this point
Copy the full SHA 25893c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e621e64 - Browse repository at this point
Copy the full SHA e621e64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44946ed - Browse repository at this point
Copy the full SHA 44946edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 199ab42 - Browse repository at this point
Copy the full SHA 199ab42View commit details -
refactor: simplify serveCodec to use serveRawBlock iff data encoded i…
…n output encoding
Configuration menu - View commit details
-
Copy full SHA for 89eb033 - Browse repository at this point
Copy the full SHA 89eb033View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb50869 - Browse repository at this point
Copy the full SHA fb50869View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc31241 - Browse repository at this point
Copy the full SHA fc31241View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55383cd - Browse repository at this point
Copy the full SHA 55383cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6d45c7 - Browse repository at this point
Copy the full SHA a6d45c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1986be1 - Browse repository at this point
Copy the full SHA 1986be1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ef022e - Browse repository at this point
Copy the full SHA 9ef022eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cadc681 - Browse repository at this point
Copy the full SHA cadc681View commit details
Commits on Nov 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6331695 - Browse repository at this point
Copy the full SHA 6331695View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c93672 - Browse repository at this point
Copy the full SHA 2c93672View commit details
Commits on Nov 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 462c71b - Browse repository at this point
Copy the full SHA 462c71bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e844c5 - Browse repository at this point
Copy the full SHA 1e844c5View commit details
Commits on Nov 15, 2022
-
Update core/corehttp/gateway_handler_codec.go
Co-authored-by: Marcin Rataj <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bb98041 - Browse repository at this point
Copy the full SHA bb98041View commit details
Commits on Nov 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 53d5878 - Browse repository at this point
Copy the full SHA 53d5878View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4064f97 - Browse repository at this point
Copy the full SHA 4064f97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c6a8da - Browse repository at this point
Copy the full SHA 8c6a8daView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5e5ff2 - Browse repository at this point
Copy the full SHA b5e5ff2View commit details
Commits on Nov 23, 2022
-
fix: Content-Disposition .json and .cbor
.dag- veriants are not necessary – DAG-JSON should have 'Save As' dialog default to file named .json see "File extension" section of specs below: https://www.iana.org/assignments/media-types/application/vnd.ipld.dag-json https://www.iana.org/assignments/media-types/application/vnd.ipld.dag-cbor
Configuration menu - View commit details
-
Copy full SHA for 8ca2a52 - Browse repository at this point
Copy the full SHA 8ca2a52View commit details -
fix: inline disposition for JSON responses
Quality of life improvement, allows user agents to render JSON. Passing ?format=json to unixfs directory will show JSON in browser.
Configuration menu - View commit details
-
Copy full SHA for b4dfa66 - Browse repository at this point
Copy the full SHA b4dfa66View commit details -
refactor: return 501 for unsupported pathing
Includes human-readable error which encourages people to use CBOR Tag 42 for building DAGs with Links.
Configuration menu - View commit details
-
Copy full SHA for 83913c7 - Browse repository at this point
Copy the full SHA 83913c7View commit details -
docs(cbor): improved info about codec
This ensures user knows why they got this HTML response (due to specific codec in the specific CID they can inspect), and that they have clear understanding of options – either preview as JSON, or download as one of supported formats.
Configuration menu - View commit details
-
Copy full SHA for ff55745 - Browse repository at this point
Copy the full SHA ff55745View commit details
Commits on Nov 24, 2022
-
refactor: create template at assets/dag-index-html
This is a quick, static placeholder that follows the style of dir-index-html. Future work will refine this, perhaps by reusing parts of https://explore.ipld.io/
Configuration menu - View commit details
-
Copy full SHA for 52711d3 - Browse repository at this point
Copy the full SHA 52711d3View commit details
Commits on Nov 25, 2022
-
fix(dag@gw): content type and cache headers
This unifies the way we set headers for DAG- responses, adds missing ones for HTML response, and adds bunch of regression tests to ensure desired behaviors are not changed during future refactors.
Configuration menu - View commit details
-
Copy full SHA for 7e84856 - Browse repository at this point
Copy the full SHA 7e84856View commit details
Commits on Nov 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3b89f20 - Browse repository at this point
Copy the full SHA 3b89f20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 162f435 - Browse repository at this point
Copy the full SHA 162f435View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12d0d7f - Browse repository at this point
Copy the full SHA 12d0d7fView commit details
Commits on Nov 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2d8ba78 - Browse repository at this point
Copy the full SHA 2d8ba78View commit details
Commits on Dec 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b5874e7 - Browse repository at this point
Copy the full SHA b5874e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c08a76 - Browse repository at this point
Copy the full SHA 0c08a76View commit details -
fix(dag-index-html): remove technical jargon
Applied feedback from IPFS Implementers Sync, HTML should be aimed at non-technical people, and UnixFS in bold is too intimidating.
Configuration menu - View commit details
-
Copy full SHA for f084f09 - Browse repository at this point
Copy the full SHA f084f09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32bcd41 - Browse repository at this point
Copy the full SHA 32bcd41View commit details