gpt4 book ai didi

java - 使用 GAE for Java 对 Firefox Marketplace 进行 list 应用程序验证

转载 作者:行者123 更新时间:2023-12-01 04:53:51 25 4
gpt4 key购买 nike

我想将我的应用程序上传到 Firefox Marketplace。当我尝试验证我的应用程序 list (称为manifest.webapp)时,我收到以下消息:

JSON Parse Error Manifests must be served with the HTTP header "Content-Type: application/x-web-app-manifest+json". See https://developer.mozilla.org/en/Apps/Manifest#Serving_manifests for more information.

我的应用程序通过 Google App Engine for Java 运行,因此这个 answer对我不起作用。我尝试将以下行添加到我的 web.xml 文件中:

   <mime-mapping>
<extension>webapp</extension>
<mime-type>application/x-web-app-manifest+json</mime-type>
</mime-mapping>

也没有工作。不确定是否可以添加类似于 appengine-web.xml 的内容

无论如何,你知道我该如何设置它吗?

最佳答案

似乎有一个 issue with <mime-mapping> - 尝试<mime_mapping>相反。

关于java - 使用 GAE for Java 对 Firefox Marketplace 进行 list 应用程序验证,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14487732/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com