-
Notifications
You must be signed in to change notification settings - Fork 13
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
Hyperbee URLs #21
Comments
@KyGost @pfrazee Is there a standardized list of useful range query parameters like |
I think making values optional is something we could shove into the querystring too. I'm not sure what standardized would mean with regards to query parameters, tbh. I was thinking we could support all the stuff inside Hyperbee's |
Working on earthstar-fetch which has similar design constraints as hyperbee since it's also based on b+ trees for querying. |
Might be good to use |
Based on discussions on Discord
hyper://
URL/
in the URL is pulled through the sub command/
GET
a key, you get the raw value backfoo/bar.txt' =>
text/plain`/
at the end of a path triggers a directory listingAccept
header to enable JSON{[urlEncodedKey]: "urlEncodedValue"}
?[[urlEncodedKey, urlEncodedValue]]
?[{key: urlEncodedKey, value: urlEncodedValue}]
?[{key: urlEncodedKey, value: byteArray}]
?application/octet-stream
gt
andlt
query string params for searchcc @KyGost @pfrazee
Conversation Log
2.4.1. Escaped Encoding An escaped octet is encoded as a character triplet, consisting of the percent character "%" followed by the two hexadecimal digits representing the octet code. For example, "%20" is the escaped encoding for the US-ASCII space character. escaped = "%" hex hex hex = digit | "A" | "B" | "C" | "D" | "E" | "F" | "a" | "b" | "c" | "d" | "e" | "f"
key: urlencodedkey
value: urlencodedvalue
The text was updated successfully, but these errors were encountered: