小编Nor*_*orm的帖子

我可以获得有关 Gradle 7.0 中“隐式依赖项”的更多信息吗?

[更新于 2021 年 4 月 16 日,请参阅下面的可重现测试用例。]

我开始将一个小型 Gradle 构建转换为 Gradle 7.0。它说:

> Task :junit_xsd
Execution optimizations have been disabled for task ':junit_xsd' to ensure correctness due to the following reasons:
  - Gradle detected a problem with the following location: '/Users/ndw/Projects/xproc/test-suite/build'. Reason: Task ':git_log_shorter' uses this output of task ':junit_xsd' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#implicit_dependency for more details …
Run Code Online (Sandbox Code Playgroud)

gradle

14
推荐指数
0
解决办法
1万
查看次数

我如何*阻止*Apache2设置Content-Type标头?

我有一个CGI脚本在stdout上打印以下内容:

print "Status: 302 Redirect\n";
print "Server: Apache-Coyote/1.1\n";
print "Location: $redirect\n";
print "Content-Length: 0\n";
print "Date: $date\n\n";
Run Code Online (Sandbox Code Playgroud)

$ redirect和$ date是合理的值.Apache2实际发送的内容还包括Content-Type:标头(text/plain).我已经在服务器配置文件中注释掉了DefaultType.

我正在尝试调试在没有发送Content-Type:标头时出现的下游问题.那么为了防止 Apache2添加内容类型标题,我必须执行什么神奇的咒语?

apache content-type header http

5
推荐指数
1
解决办法
4100
查看次数

标签 统计

apache ×1

content-type ×1

gradle ×1

header ×1

http ×1