From 29d5f553bb4d708f82751351b4f16e5a09a633d5 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sun, 5 May 2024 21:18:32 -0600 Subject: [PATCH] Add barcode type for URL link --- Home.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Home.md b/Home.md index f3e8592..7136f49 100644 --- a/Home.md +++ b/Home.md @@ -22,6 +22,16 @@ All barcodes shall start with `QSv1` as the first field. The second field shall ## Data Fields +### Subtype `u`: URL providing the code content + +This type allows for smaller and shorter codes by providing a HTTP URL linking to where the barcode's content can be retrieved. The URL shall respond to a `GET` request by serving a Quick Send code with the mimetype `text/plain`. The data shall be served in the same format as it would be if encoded into a barcode directly. If a response is received that is not a valid Quick Send code, the application should handle it the same as scanning an incompatible barcode. + +Position | Meaning +---------|-------- +0 | Format header (`QSv1`) +1 | Subtype header (`u`) +2 | URL, starting with `http://` or `https://` + ### Subtype `a`: To/From Addresses Basic to/from address data only.