# \#mux

**URL:** https://discourse.julialang.org/tag/mux/36.md

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

---

## [How can I parse a \`Socket.TCPSocket\` into an \`HTTP.Request\` in Julia?](https://discourse.julialang.org/t/how-can-i-parse-a-socket-tcpsocket-into-an-http-request-in-julia/59017)

<div class="topic-metadata">

**Author:** [@apoor](https://discourse.julialang.org/u/apoor)\
**Replies:** 0\
**Last updated:** [April 11, 2021, 2:56am UTC](https://discourse.julialang.org/t/how-can-i-parse-a-socket-tcpsocket-into-an-http-request-in-julia/59017 "2021-04-11T02:56:43Z")

</div>

I’m trying to get the both the client request and IP address from http requests to my HTTP.jl server (based on the basic server example in the docs). using HTTP using Sockets const APP = HTTP.Router() # My request han…

---

## [Mux - Api reference docs](https://discourse.julialang.org/t/mux-api-reference-docs/58190)

<div class="topic-metadata">

**Author:** [@djholiver](https://discourse.julialang.org/u/djholiver)\
**Replies:** 0\
**Last updated:** [March 29, 2021, 9:02pm UTC](https://discourse.julialang.org/t/mux-api-reference-docs/58190 "2021-03-29T21:02:36Z")

</div>

Hi, I’m trying to make use of Mux.jl, but have so far been unable to find the API reference. The Readme does give a few hints on getting started, but before I start reviewing the code, I thought I’d ask the community. R…

---

## [Handling multipart/form-data with Mux or HTTP](https://discourse.julialang.org/t/handling-multipart-form-data-with-mux-or-http/24918)

<div class="topic-metadata">

**Author:** [@tencnivel](https://discourse.julialang.org/u/tencnivel)\
**Replies:** 3\
**Last updated:** [August 4, 2019, 1:48pm UTC](https://discourse.julialang.org/t/handling-multipart-form-data-with-mux-or-http/24918 "2019-08-04T13:48:21Z")

</div>

Hi everyone! I’m trying to handle the upload of files (several files at the same time) using Mux. I would like to be able to loop over the input parts and for each of them : get the name of the file get the content of…

---

## [Need some pointers to implement scheme based routing](https://discourse.julialang.org/t/need-some-pointers-to-implement-scheme-based-routing/2678)

<div class="topic-metadata">

**Author:** [@Sarvjeet](https://discourse.julialang.org/u/Sarvjeet)\
**Replies:** 0\
**Last updated:** [March 15, 2017, 1:53pm UTC](https://discourse.julialang.org/t/need-some-pointers-to-implement-scheme-based-routing/2678 "2017-03-15T13:53:16Z")

</div>

I have made a pull request here implementing scheme based routing in Mux. I don’t know how to test it (details are mentioned in the pull request), could someone please take a look at it. Thanks in advance.

---

## [How to return a response with custom headers in Mux.jl?](https://discourse.julialang.org/t/how-to-return-a-response-with-custom-headers-in-mux-jl/1361)

<div class="topic-metadata">

**Author:** [@amellnik](https://discourse.julialang.org/u/amellnik)\
**Replies:** 1\
**Last updated:** [January 9, 2017, 12:50am UTC](https://discourse.julialang.org/t/how-to-return-a-response-with-custom-headers-in-mux-jl/1361 "2017-01-09T00:50:35Z")

</div>

Has anyone been able to get this working? I can do it with HttpServer, but I can’t figure out how to return them in Mux. For example @app test = ( Mux.defaults, page("/test", req -\> Dict("body"=\>"meh")), M…
