Jacob Heider

Results 375 comments of Jacob Heider

If we decide on a preferred visual representation, I can make the / redirect to the application files and have the lambda scan the repo at, say, `/repo.json`, and work...

I considered the binary, but I doubt curl exposes platform and arch (though it might; I can check.) Seems like redirecting to the installer would be preferred then. Redirecting to...

``` > User-Agent: curl/7.79.1 ``` Yeah, it doesn't look like it wants to expose enough to determine binary platform.

```sh curl -i dist.tea.xyz HTTP/1.1 302 Moved Temporarily Content-Length: 114 Connection: keep-alive Server: CloudFront Date: Mon, 31 Oct 2022 18:35:05 GMT Location: https://dist.tea.xyz/tea.xyz/v0.11.3.tar.gz X-Cache: LambdaGeneratedResponse from cloudfront Via: 1.1 4c18dd7deeecd61e783c74198943db58.cloudfront.net...

Interestingly, that doesn't help with `-O`. From the man page: ``` The remote file name to use for saving is extracted from the given URL, nothing else, and if it...

Oof. I think the trick here is going to be adding a content disposition header in the response step. annoying.

Blech. So, `curl -O` uses the command line. `curl -LJO` (barf) will use the `content-disposition` header, we can use a lambda to jam onto the _response_ (not the request, duh)....

No worries. I'll disable the source sending. Keep the plaintext listing on the bottles/srcs for now?

disabled source and content-disposition rules. left text listing as default root.

@Xercesblu3 I think that's what we can do for now. If we want to alter language in the future, that's simple enough (it's a lambda)