RFR: 8297609: Add application/wasm MIME type for wasm file extension

Michal Karm Babacek duke at openjdk.org
Tue Nov 29 19:23:23 UTC 2022


On Tue, 29 Nov 2022 13:06:37 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Could you update that test's main method to include a test for this new mime type that this PR adds?

Ack. 

The test fails when I put something random in there and it passes with wasm now:


$ make run-test TEST="jtreg:test/jdk/java/nio/file/Files/probeContentType/Basic.java"

==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR   
   jtreg:test/jdk/java/nio/file/Files/probeContentType/Basic.java
                                                         1     1     0     0   
==============================
TEST SUCCESS

@jaikiran Would you like me to squash those two commits and force push in that branch? I am not really familiar with the JDK project's GitHub flow and I don't want to disturb any bots with messing up the PR commit history.   Thx for advice...

-------------

PR: https://git.openjdk.org/jdk/pull/11284


More information about the net-dev mailing list