Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

routing: add support for chunked requests #474

Closed
jrudolph opened this issue Aug 29, 2013 · 1 comment
Closed

routing: add support for chunked requests #474

jrudolph opened this issue Aug 29, 2013 · 1 comment
Milestone

Comments

@jrudolph
Copy link
Member

Message protocols for normal requests (HttpRequest) and chunked requests (ChunkedRequestStart / MessageChunk / ChunkedMessageEnd) differ quite a bit. Therefore, spray-routing needs to be improved to handle chunked requests similar to other request.

What we need to do is:

  • change all request-targeted directives in a way that allows them also to filter on
    headers coming in from a ChunkedRequestStart
  • change directives regarding request entities to automatically either aggregate chunks or reject chunked requests
  • add directives to handle request entities in a streaming manner

This is a sub-issue of #281.

@sirthias
Copy link
Member

sirthias commented Feb 9, 2015

Fixed in Akka HTTP with the new streamified chunking model.

@sirthias sirthias closed this as completed Feb 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants