From 35110117f470d7ad56d18090e8d00d0d908bf29d Mon Sep 17 00:00:00 2001 From: chrisjleal <184772742+chrisjleal@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:46:33 -0600 Subject: [PATCH] Your server: answer within 10 seconds, then download the archive straight away --- gates/your-server.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gates/your-server.mdx b/gates/your-server.mdx index 070fdb5..c00c8d2 100644 --- a/gates/your-server.mdx +++ b/gates/your-server.mdx @@ -46,8 +46,9 @@ Your code, your model and your machines stay yours. You need no Proofable key. ``` - `qHash` is the buyer's receipt and the order id. You may receive an order more than once, so ignore a repeat. - - `repository` is there when the listing asks for GitHub. `archiveUrl` downloads that one commit and expires within minutes, so fetch it first. - - Answer with any 2xx status, then do the work. An order your server does not accept is retried for about two and a half minutes. + - `repository` is there when the listing asks for GitHub. It is one commit with no history, so there is no `.git`. + - `archiveUrl` downloads that one commit and expires within minutes. Anyone holding the link can download the code, so keep it out of your logs. Answer the order, then start the download into your own storage straight away rather than behind a queue. Large repositories produce large archives, so decide what you accept. + - Answer with any 2xx status within 10 seconds, then do the work. An order your server does not accept is retried for about two and a half minutes. The `X-Proofable-Signature` header is `sha256=` plus the hex HMAC-SHA256 of the raw request body, keyed with your signing secret.