Skip to content

Process Strict-Transport-Security header in HTTPS responses #6703

Closed

Description

@jdm

There's support for the header in hyper, so we should go ahead and follow the spec at http://tools.ietf.org/html/rfc6797#section-8.1 . @samfoo was this something you were interested in tackling?

Relevant code: components/net/http_loader.rs

Activity

  1. added
    E-less-complex
    on Jul 22, 2015
  2. samfoo commented on Jul 23, 2015

    @samfoo
    Contributor

    Yep, I'll take this up over the weekend. The client API for hyper has changed pretty substantially (SSL is totally different), so it will likely be non-trivial.

  3. removed
    E-less-complex
    on Jul 23, 2015
  4. samfoo commented on Jul 24, 2015

    @samfoo
    Contributor

    Yay! Someone already did the work of upgrading hyper, so this was easy. I'm very concerned about the lack of testing around the load function, but it seems like that's a much bigger problem than is worth tackling in this commit.

    The other bit I'm not sure about is how to persist the HSTS list between runs. There's no write_resource_file counterpart, and I'm not even sure that would be the right way to do it. Is there another mechanism for persisting state across sessions right now?

  5. jdm commented on Jul 24, 2015

    @jdm
    MemberAuthor

    There's no persistence mechanism in Servo for the time being. Just add a TODO.

  6. added a commit that references this issue on Aug 2, 2015
    f1c26c5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions