💾 Archived View for rawtext.club › ~sloum › geminilist › 002760.gmi captured on 2020-10-31 at 14:45:36. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2020-09-24)

-=-=-=-=-=-=-

<-- back to the mailing list

Genini requests with ncat

Julien Blanchard julien at typed-hole.org

Tue Sep 22 16:30:31 BST 2020

- - - - - - - - - - - - - - - - - - - 

On 22/09/2020 17:18, James Henderson wrote:

Hi there,
I am trying to make gemini requests with ncat and have hit a bit of a
stumbling block that I am not sure how to solve so was wondering if
anyone here knew what was going on.
If i make a request as such:
echo -e “gemini://gemini.conman.org\r\n” | ncat —ssl “gemini.conman.org”
page.out
I get the expected index page from gemini.conman.org printed into a file.
However if i try the same with
echo -e “gemini://gemini.circumlunar.space\r\n” | ncat —ssl
“gemini.circumlunar.space”  
page.out
I get a 31 redirect. If i try that redirect address which is the same
but with a / on the end of the url then the requests fails Where in
would expect the gemini.circumlunar.space home page to be output to a file.
I feel like there is something obvious I am missing.
Anyone done this and know whats wrong?

echo -e "gemini://gemini.circumlunar.space/\r\n" | ncat --ssl "gemini.circumlunar.space" 1965

page.outworks here, just added the slash and the port.