Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request headers support for protocols #36

Closed
Gozala opened this issue Jul 23, 2018 · 4 comments
Closed

Request headers support for protocols #36

Gozala opened this issue Jul 23, 2018 · 4 comments
Labels
Protocol Protocol API related issues

Comments

@Gozala
Copy link
Contributor

Gozala commented Jul 23, 2018

This is followup from #2 where you can find all the details. Below quote is short summary:

Request Headers - Things seems here sadly far more complicated, but it is also clear that this is really important for proper support of Video / Audio tags that just assume HTTP backend. It was suggested to me to that we could do following:

  • Plain data from request so that protocol handler can parse HTTP headers or alternative encoding of metadata.
    - Expose existing HTTP parser so it could be used. There was quite a reluctance on this though for reasons I did not understand (Part of it was that it's written in C++ and could not be easily extracted for just parsing use). It was highly recommended to instead just support more strictly encoded subset of the headers as anything send from video / audio tags would fit.

Unfortunately it seems that supporting request headers would require C++ work and landing corresponding changes into Firefox which is to say it's likely going to take a while and likely will come after we illustrated that people are actually building on this work.

@Gozala Gozala added the Protocol Protocol API related issues label Jul 23, 2018
@lidel
Copy link
Contributor

lidel commented Aug 15, 2018

Is analog to HTTP's Range requests tracked under this, or should I create a separate issue for it?

@Gozala
Copy link
Contributor Author

Gozala commented Aug 18, 2018

Is analog to HTTP's Range requests tracked under this, or should I create a separate issue for it?

Let's track it here for now, depending how it will pan out I might need separate one, but for now it's good. One thing that could help is an example that produces Range requests that are disregarded.

@lidel
Copy link
Contributor

lidel commented Sep 7, 2018

@Gozala I believe seeking with <video> is the most popular use for range requests right now.

I created a small sandbox illustrating current problems, more details in README at:

@Gozala
Copy link
Contributor Author

Gozala commented Aug 7, 2019

Migrate to https://bugzilla.mozilla.org/show_bug.cgi?id=1572215

@Gozala Gozala closed this as completed Aug 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Protocol Protocol API related issues
Projects
None yet
Development

No branches or pull requests

2 participants