# \#http

**URL:** https://discourse.julialang.org/tag/http/437.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [HTTP.jl 2.0 not pre-compiling](https://discourse.julialang.org/t/http-jl-2-0-not-pre-compiling/137367)

<div class="topic-metadata">

**Author:** [@TimG](https://discourse.julialang.org/u/TimG)\
**Replies:** 1\
**Last updated:** [June 1, 2026, 8:11am UTC](https://discourse.julialang.org/t/http-jl-2-0-not-pre-compiling/137367 "2026-06-01T08:11:53Z")

</div>

Precompilation of Reseau.jl completes as expected but then HTTP.jl precompilation just hangs. I’ve tried it multiple times and each time it just sits with the spinning disk indefinitely. It didn’t work on Friday and I ju…

---

## [HTTP Streaming Antropic Claude AI](https://discourse.julialang.org/t/http-streaming-antropic-claude-ai/117666)

<div class="topic-metadata">

**Author:** [@Marcell\_Havlik](https://discourse.julialang.org/u/Marcell_Havlik)\
**Replies:** 8\
**Last updated:** [May 29, 2026, 10:14pm UTC](https://discourse.julialang.org/t/http-streaming-antropic-claude-ai/117666 "2026-05-29T22:14:01Z")

</div>

Hey Julianners, Yesterday I stucked with the HTTP streaming functionality very well and just cannot figure out how to solve it. I suppose the problem is with the body in the POST message. Also I cannot do write(response…

---

## [\[ANN\] Oxygen.jl: A breath of fresh air for programming web apps in Julia](https://discourse.julialang.org/t/ann-oxygen-jl-a-breath-of-fresh-air-for-programming-web-apps-in-julia/82533)

<div class="topic-metadata">

**Author:** [@ndortega](https://discourse.julialang.org/u/ndortega)\
**Replies:** 5\
**Last updated:** [February 12, 2026, 7:10pm UTC](https://discourse.julialang.org/t/ann-oxygen-jl-a-breath-of-fresh-air-for-programming-web-apps-in-julia/82533 "2026-02-12T19:10:54Z")

</div>

I’m excited to announce Oxygen.jl, a micro-framework built on top of the HTTP.jl library that’s designed to simplify building web applications in Julia. Full disclosure, the design of the API itself takes heavy inspirati…

---

## [HTTP has stopped working on api.eia.gov](https://discourse.julialang.org/t/http-has-stopped-working-on-api-eia-gov/134266)

<div class="topic-metadata">

**Author:** [@wshobe](https://discourse.julialang.org/u/wshobe)\
**Replies:** 13\
**Last updated:** [December 3, 2025, 4:51am UTC](https://discourse.julialang.org/t/http-has-stopped-working-on-api-eia-gov/134266 "2025-12-03T04:51:23Z")

</div>

All of a sudden, HTTP has stopped working to retrieve data from the api.eia.gov website. I have included a simple call that works in R and used to work in Julia but now times out no matter how much time I give it. In R, …

---

## [Help making HTTP.request for Manifold](https://discourse.julialang.org/t/help-making-http-request-for-manifold/133069)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 2\
**Last updated:** [October 11, 2025, 2:30pm UTC](https://discourse.julialang.org/t/help-making-http-request-for-manifold/133069 "2025-10-11T14:30:08Z")

</div>

Hello. I am trying to submit a request to Manifold.markets via HTTP.jl, but I am having trouble with the setup. The API description is posted here. Here is one thing I tried. Code using HTTP header = Dict( "Author…

---

## [Curl -d data url from Julia](https://discourse.julialang.org/t/curl-d-data-url-from-julia/132975)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 9\
**Last updated:** [October 9, 2025, 1:43pm UTC](https://discourse.julialang.org/t/curl-d-data-url-from-julia/132975 "2025-10-09T13:43:15Z")

</div>

I would like to do the equivalent of run(\`curl -d data url\`) from Julia, using LibCURL or one of the wrappers. Is there a simple way to do this? (Motivation: curl may not be available on the host, but I have a working…

---

## [HTTP returns an error in Julia 1.11.1](https://discourse.julialang.org/t/http-returns-an-error-in-julia-1-11-1/122312)

<div class="topic-metadata">

**Author:** [@wshobe](https://discourse.julialang.org/u/wshobe)\
**Replies:** 11\
**Last updated:** [October 1, 2025, 4:02am UTC](https://discourse.julialang.org/t/http-returns-an-error-in-julia-1-11-1/122312 "2025-10-01T04:02:07Z")

</div>

I have just updated to Julia 1.11.1 and HTTP is now returning an error, where it worked before the update. Any thoughts would be appreciated. The call is very simple: resp = HTTP.request("GET", "http://httpbin.org/ip")…

---

## [Downloads.download() error](https://discourse.julialang.org/t/downloads-download-error/131408)

<div class="topic-metadata">

**Author:** [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Replies:** 2\
**Last updated:** [August 7, 2025, 6:19pm UTC](https://discourse.julialang.org/t/downloads-download-error/131408 "2025-08-07T18:19:39Z")

</div>

import Downloads Downloads.download("https://www.hkex.com.hk/eng/stat/smstat/dayquot/d250806e.htm") produces the error: ERROR: RequestError: HTTP/2 stream 1 was not closed cleanly: INTERNAL\_ERROR (err 2) while requesti…

---

## [IOError: stream is closed or unusable on POST](https://discourse.julialang.org/t/ioerror-stream-is-closed-or-unusable-on-post/129859)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 0\
**Last updated:** [June 13, 2025, 12:06pm UTC](https://discourse.julialang.org/t/ioerror-stream-is-closed-or-unusable-on-post/129859 "2025-06-13T12:06:25Z")

</div>

I frequently get IOError: stream is closed or unusable when trying to POST to an API with a pretty large body: Content-Length: 406233. What can I do?

---

## [How should one make a struct that handles a HTTP.jl server?](https://discourse.julialang.org/t/how-should-one-make-a-struct-that-handles-a-http-jl-server/129799)

<div class="topic-metadata">

**Author:** [@AwesomeQuest](https://discourse.julialang.org/u/AwesomeQuest)\
**Replies:** 0\
**Last updated:** [June 11, 2025, 10:10am UTC](https://discourse.julialang.org/t/how-should-one-make-a-struct-that-handles-a-http-jl-server/129799 "2025-06-11T10:10:21Z")

</div>

HTTP.server says it can’t be finalizerd. ERROR: objects of type HTTP.Servers.Server{HTTP.Servers.Listener{Nothing, Sockets.TCPServer}} cannot be finalized So if I have a struct like mutable struct M reciverClient::HT…

---

## [Equivelent HTTP.jl code for Python socket implementation](https://discourse.julialang.org/t/equivelent-http-jl-code-for-python-socket-implementation/129566)

<div class="topic-metadata">

**Author:** [@AwesomeQuest](https://discourse.julialang.org/u/AwesomeQuest)\
**Replies:** 1\
**Last updated:** [June 3, 2025, 9:50am UTC](https://discourse.julialang.org/t/equivelent-http-jl-code-for-python-socket-implementation/129566 "2025-06-03T09:50:13Z")

</div>

I’m trying to emulate a piece of Python code that talks to a http server in Julia but I don’t really understand the python code or how to translate it into equivalent HTTP.jl and Sockets.jl code. Here’s a very compresse…

---

## [HTTP.jl client layer](https://discourse.julialang.org/t/http-jl-client-layer/128098)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 4\
**Last updated:** [May 6, 2025, 2:44pm UTC](https://discourse.julialang.org/t/http-jl-client-layer/128098 "2025-05-06T14:44:21Z")

</div>

I’m trying to implement an auth layer for HTTP.jl module ApiClient import HTTP import Dates import JSON Base.@kwdef struct TokenInfo access\_token::String = "" expires\_at::Dates.DateTime = Dates.now(Dates.UTC) …

---

## [Comma in a query HTTP.jl](https://discourse.julialang.org/t/comma-in-a-query-http-jl/127852)

<div class="topic-metadata">

**Author:** [@gltchr](https://discourse.julialang.org/u/gltchr)\
**Replies:** 3\
**Last updated:** [April 8, 2025, 9:18pm UTC](https://discourse.julialang.org/t/comma-in-a-query-http-jl/127852 "2025-04-08T21:18:14Z")

</div>

Spoiler: This is my first time doing any sort of web-interfacing, so might be something obvious. Problem: Hard-typing the query into a request works, while using the query=\["variables"=\>"var1,var2"\] or query=\["variable…

---

## [WebSocket and HTTP fails silently](https://discourse.julialang.org/t/websocket-and-http-fails-silently/127109)

<div class="topic-metadata">

**Author:** [@\_admin](https://discourse.julialang.org/u/_admin)\
**Replies:** 5\
**Last updated:** [March 20, 2025, 12:19pm UTC](https://discourse.julialang.org/t/websocket-and-http-fails-silently/127109 "2025-03-20T12:19:50Z")

</div>

Straight to the code, HTTP and WebSocket in Julia can’t establish a connection. It seem to be a general error with Julia or the package. I’m using the latest versions on mac. julia version 1.11.4 Minimal Example using…

---

## [Best practices for managing websocket/http server lifecycle](https://discourse.julialang.org/t/best-practices-for-managing-websocket-http-server-lifecycle/124434)

<div class="topic-metadata">

**Author:** [@danvinci](https://discourse.julialang.org/u/danvinci)\
**Replies:** 12\
**Last updated:** [January 7, 2025, 2:12am UTC](https://discourse.julialang.org/t/best-practices-for-managing-websocket-http-server-lifecycle/124434 "2025-01-07T02:12:24Z")

</div>

Hello folks! I’m experimenting with HTTP.jl and I’m trying to put in a place a watchdog task that would regularly check on the server, and spin up a new one if it goes down. The issue I’m encountering is that I get thi…

---

## [Send file with HTTP.post](https://discourse.julialang.org/t/send-file-with-http-post/91932)

<div class="topic-metadata">

**Author:** [@sardinecan](https://discourse.julialang.org/u/sardinecan)\
**Replies:** 4\
**Last updated:** [October 22, 2024, 12:39pm UTC](https://discourse.julialang.org/t/send-file-with-http-post/91932 "2024-10-22T12:39:13Z")

</div>

Hi everyone, I’m looking to upload files via an API using Julia with the HTTP.jl package. Unfortunately, the API can’t retrieve my file, and I get an error: {“code”:500,“message”:“Unable to retrieve file from request.…

---

## [Optimize Apache Arrow data streaming over HTTP](https://discourse.julialang.org/t/optimize-apache-arrow-data-streaming-over-http/113692)

<div class="topic-metadata">

**Author:** [@simsurace](https://discourse.julialang.org/u/simsurace)\
**Replies:** 29\
**Last updated:** [October 12, 2024, 6:56pm UTC](https://discourse.julialang.org/t/optimize-apache-arrow-data-streaming-over-http/113692 "2024-10-12T18:56:55Z")

</div>

Following a request on the Arrow.jl project, I started implementing a simple Julia example here. With the exeption of an upstream issue on macOS, it seems to work. However, the implementation seems to be less performant …

---

## [How to call PythonCall.jl behind a julia HTTP webserver?](https://discourse.julialang.org/t/how-to-call-pythoncall-jl-behind-a-julia-http-webserver/119563)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 2\
**Last updated:** [September 24, 2024, 2:09pm UTC](https://discourse.julialang.org/t/how-to-call-pythoncall-jl-behind-a-julia-http-webserver/119563 "2024-09-24T14:09:21Z")

</div>

Hi there, I am wondering how I could use langchain from Python as part of a webserver. I am running into segmenation faults certainly due to multithreading. Does someone know a way whether the new @unlock and @lock are …

---

## [Http.jl websocket is not connecting after some time - EOFError: read end of file](https://discourse.julialang.org/t/http-jl-websocket-is-not-connecting-after-some-time-eoferror-read-end-of-file/118964)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 2\
**Last updated:** [September 6, 2024, 7:49am UTC](https://discourse.julialang.org/t/http-jl-websocket-is-not-connecting-after-some-time-eoferror-read-end-of-file/118964 "2024-09-06T07:49:13Z")

</div>

It is really confusing: After letting julia http server run for some time, the websocket won’t connect any longer, giving EOFError: read end of file EOFError: read end of file │ Stacktrace: │ \[1\] (::Base.var"#w…

---

## [How to integrate Julia with a HTML web page?](https://discourse.julialang.org/t/how-to-integrate-julia-with-a-html-web-page/48019)

<div class="topic-metadata">

**Author:** [@yasser\_rajwani](https://discourse.julialang.org/u/yasser_rajwani)\
**Replies:** 13\
**Last updated:** [July 13, 2024, 10:15am UTC](https://discourse.julialang.org/t/how-to-integrate-julia-with-a-html-web-page/48019 "2024-07-13T10:15:16Z")

</div>

How to call a Julia function from an application running in a web browser

---

## [Print string from readavailable now seems to get a wrong encoding](https://discourse.julialang.org/t/print-string-from-readavailable-now-seems-to-get-a-wrong-encoding/115712)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 0\
**Last updated:** [June 16, 2024, 9:23am UTC](https://discourse.julialang.org/t/print-string-from-readavailable-now-seems-to-get-a-wrong-encoding/115712 "2024-06-16T09:23:44Z")

</div>

This was working “before” but now produces strange symbols in the output (like a binary output): using HTTP HTTP.open("GET", "https://julialang.org/") do io # Note the SSL support while !eof(io) println(Stri…

---

## [Performance issue with an API calling another API](https://discourse.julialang.org/t/performance-issue-with-an-api-calling-another-api/110976)

<div class="topic-metadata">

**Author:** [@AbrJA](https://discourse.julialang.org/u/AbrJA)\
**Replies:** 3\
**Last updated:** [June 13, 2024, 4:11pm UTC](https://discourse.julialang.org/t/performance-issue-with-an-api-calling-another-api/110976 "2024-06-13T16:11:52Z")

</div>

Hi everyone, Exploring the Oxygen package to build APIs I found this I haven’t been able to solve When I run this API (with a 150 ms sleep to simulate the time taken by a model): using Oxygen @get "/model" function(…

---

## [How to create an HTML questionnaire that is driven by Julia in the background?](https://discourse.julialang.org/t/how-to-create-an-html-questionnaire-that-is-driven-by-julia-in-the-background/110644)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 2\
**Last updated:** [February 23, 2024, 3:41pm UTC](https://discourse.julialang.org/t/how-to-create-an-html-questionnaire-that-is-driven-by-julia-in-the-background/110644 "2024-02-23T15:41:01Z")

</div>

I want to point a site to an HTML file (using Nginx), which is a questionnaire. For example, people who open the page are asked to fill in a number randomly and click Submit button. Julia records the number each person f…

---

## [Client code for SSE (Server Sent Events) with HTTP.jl](https://discourse.julialang.org/t/client-code-for-sse-server-sent-events-with-http-jl/110386)

<div class="topic-metadata">

**Author:** [@screw\_dog](https://discourse.julialang.org/u/screw_dog)\
**Replies:** 1\
**Last updated:** [February 19, 2024, 2:08pm UTC](https://discourse.julialang.org/t/client-code-for-sse-server-sent-events-with-http-jl/110386 "2024-02-19T14:08:07Z")

</div>

I’m attempting to receive SSE from a Mastodon instance, following the API described in the official docs. Firstly, I can’t get HTTP.open to work. Attempting: HTTP.open("get", "https://aus.social/api/v1/streaming/public…

---

## [How to Collect Data from a Async Call?](https://discourse.julialang.org/t/how-to-collect-data-from-a-async-call/50825)

<div class="topic-metadata">

**Author:** [@DataPsycho](https://discourse.julialang.org/u/DataPsycho)\
**Replies:** 5\
**Last updated:** [November 28, 2020, 5:46am UTC](https://discourse.julialang.org/t/how-to-collect-data-from-a-async-call/50825 "2020-11-28T05:46:54Z")

</div>

Hi, I have build a application where I have a function which collect data from a API call then store it to a Array as follows: using DotEnv, HTTP, JSON3 DotEnv.config(); # Function to collect data function collect\_dat…

---

## [Install SSL/TLS Libraries in Julia?](https://discourse.julialang.org/t/install-ssl-tls-libraries-in-julia/108521)

<div class="topic-metadata">

**Author:** [@benslinux](https://discourse.julialang.org/u/benslinux)\
**Replies:** 4\
**Last updated:** [January 8, 2024, 6:38pm UTC](https://discourse.julialang.org/t/install-ssl-tls-libraries-in-julia/108521 "2024-01-08T18:38:56Z")

</div>

using HTTP using JSON function getIPInfo() url = "https://ipapi.co/json" response = HTTP.get(url) if response.status == 200 data = JSON.parse(String(response.body)) println("IP Information:"…

---

## [Download decompressed .zip-archive from url](https://discourse.julialang.org/t/download-decompressed-zip-archive-from-url/107452)

<div class="topic-metadata">

**Author:** [@maximikos](https://discourse.julialang.org/u/maximikos)\
**Replies:** 1\
**Last updated:** [December 11, 2023, 6:11pm UTC](https://discourse.julialang.org/t/download-decompressed-zip-archive-from-url/107452 "2023-12-11T18:11:28Z")

</div>

Hi, I would like to extract and download files from a .zip-archive stored online (here) without having to download intermediate files. The .zip-archive consists of .txt and .json files and is nested. I have found two r…

---

## [AWS and sign\_aws4 request made with HTTP](https://discourse.julialang.org/t/aws-and-sign-aws4-request-made-with-http/107370)

<div class="topic-metadata">

**Author:** [@Simone\_Gabbriellini](https://discourse.julialang.org/u/Simone_Gabbriellini)\
**Replies:** 19\
**Last updated:** [December 10, 2023, 2:29pm UTC](https://discourse.julialang.org/t/aws-and-sign-aws4-request-made-with-http/107370 "2023-12-10T14:29:42Z")

</div>

I am trying to autenticate a request to my AWS endpoint using AWS Signature 4, I see there’s a function in AWS.jl called sign\_aws4!, but I would appreciate a code example of how to use it, because I don’t really understa…

---

## [IOError(EOFError() during request with HTTP.jl](https://discourse.julialang.org/t/ioerror-eoferror-during-request-with-http-jl/107184)

<div class="topic-metadata">

**Author:** [@Simone\_Gabbriellini](https://discourse.julialang.org/u/Simone_Gabbriellini)\
**Replies:** 1\
**Last updated:** [December 6, 2023, 8:46am UTC](https://discourse.julialang.org/t/ioerror-eoferror-during-request-with-http-jl/107184 "2023-12-06T08:46:03Z")

</div>

I am experiencing a weird behaviour with HTTP.jl, I have a pipeline where I can load a file, it reads data from the file and then calls three times an AWS endpoint using this code: resp = HTTP.request( "POST", …

---

## [Downloads.download (in PlotlyLight) failing for github plotly.js repository](https://discourse.julialang.org/t/downloads-download-in-plotlylight-failing-for-github-plotly-js-repository/106226)

<div class="topic-metadata">

**Author:** [@Titas22](https://discourse.julialang.org/u/Titas22)\
**Replies:** 6\
**Last updated:** [November 24, 2023, 3:42pm UTC](https://discourse.julialang.org/t/downloads-download-in-plotlylight-failing-for-github-plotly-js-repository/106226 "2023-11-24T15:42:50Z")

</div>

Hi, I’m having issues with using PlotlyLight.jl and tracked down the issue to the following call: Downloads.download("https://github.com/plotly/plotly.js/releases/latest") I end up getting the following error: julia\>…

[Next page](https://discourse.julialang.org/tag/http/437.md?match_all_tags=true&page=1&tags%5B%5D=http)
