]> Cypherpunks repositories - gostls13.git/commit
net/http: add/update mp4 sniffing
authorEmmanuel Odeke <odeke@ualberta.ca>
Tue, 17 Nov 2015 03:24:58 +0000 (20:24 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 17 Nov 2015 18:00:15 +0000 (18:00 +0000)
commit8b1152a599ea6d5f0515bcec3c5131445cc87f5c
tree252b3444b75dec2aace5cd6f310324186d4d9032
parentce8f49f42ff98a87a6766aa50efa0449c4525ce3
net/http: add/update mp4 sniffing

Completes sniffing for mp4 signature according
to the spec at:
  https://mimesniff.spec.whatwg.org/#signature-for-mp4
Clause 6.2.1

Fixes #8773

Change-Id: Icfc4a23324ae249db52c94a21c0e8509e1833e19
Reviewed-on: https://go-review.googlesource.com/16951
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/net/http/sniff.go
src/net/http/sniff_test.go