Monday, December 12, 2016

103 Early Hints に対応した Starlet 0.31 をリリースしました

Perl のウェブアプリケーションサーバである Starlet の新バージョン、0.31をリリースしました。

今回搭載された新機能は 100 番台の中間レスポンスの送信に対応した点です。

たとえば以下のような感じで 103 Early Hints レスポンスを送信することで、アプリケーションでリクエストを処理する前に、HTTP/2 リバースプロキシに関連アセットのプッシュの開始を指示することができます

sub {
    my $env = shift;
    $env["psgix.informational"}->(103, [
      'link' => '; rel=preload'
    ]);
    my $resp = ... application logic ...
    $resp;
}

Early Hints は、現在 IETF の HTTP WG で Call for Adoption を迎えている段階ですが、H2O version 2.1-beta のほか、nghttpxApache HTTP Server の HTTP/2 実装である mod_h2 の trunk などが既に対応しています。

注: HTTP クライアントによっては中間レスポンスの処理にバグを抱えている可能性があるため、Early Hints の使用はリバースプロキシを挟んでいる場合に限ることを現時点ではおすすめします。

18 comments:

  1. Thank you for sharing the useful information. I hope i will get good information here in this blog. You have maintained a good quality in an attractive manner.A very informative and interesting article.

    best essay writing service

    ReplyDelete
  2. To know Comparison between Galaxy S8 and LG G6, must visit my blog Galaxy S8 vs LG G6

    ReplyDelete
  3. Thanks for your sharing! The information your share is very useful to me and many people are looking for them just like me! Thank you! I hope you have many useful articles to share with everyone!
    usps tracking

    ReplyDelete
  4. ポストを共有していただきありがとうございます。それは、私にとって本当に便利です instagram online

    ReplyDelete
  5. Very good, I think I found the knowledge I needed. I will see and refer some information in your post. thank you.
    slither

    ReplyDelete
  6. Thank you for sharing the useful information. I hope i will get good information here in this blog. You have maintained a good quality in an attractive manner.A very informative and interesting article

    best essay writing service

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. Your blog is great. I read a lot of interesting things from it. Thank you very much for sharing. Hope you will update more news in the future.
    http://gamesforgirlsaz.net/bff-europe-shopping-spree/

    ReplyDelete
  9. Are you wondering? How is it possible? Can I activate my Windows 8.1 without the Product key? Stop wondering and amazing, yes you can activate windows 10 product key.

    ReplyDelete
  10. It experienced the last some several hours to submit my assignment, I used to be apprehensive, I had been asking to my good friends to help to carry out my assignment. Amongst my buddies suggested to search on Online then I googled and got lovelycoding. Visit : Cara Menyembuhkan Psoriasis Secara Alami

    ReplyDelete
  11. Besides, most payday advance expenses depend on the length of the loan. The standard APR for most organizations falls into the 400 percent extend. For instance, assume you were to obtain $100 at an expense of $20 for a 2 week time frame and in the event that you didn't pay if for a year, your administration charge would be $520 for a 520% APR. To which you have to make sure to include the first $100 that you acquired. www.aaa1autotitleloans.com/chicago

    ReplyDelete
  12. tutu app
    tutuapp apk
    tutu app free
    tutuapp vip
    I have had a lot of harvest after watching this article from you...

    ReplyDelete
  13. I just loved your way of presentation. enjoyed reading this .Thanks for sharing and keep writing. It is Obat Gondok Beracun like this. As constantly, we appreciate yourself assurance and accept as true within us.

    ReplyDelete

Note: Only a member of this blog may post a comment.