企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
lua_use_default_type 语法: lua_use_default_type on | off 默认: lua_use_default_type on 环境: http, server, location, location if 指定是否使用默认的媒体类型在内容响应头中。 如果在一个lua请求中不想要一个默认内容类型响应,请关闭这个指令。 默认情况下该指令被打开。 这个指令最早被引入于 v0.9.1 release 版本中。 > English source: lua_use_default_type syntax: lua_use_default_type on | off default: lua_use_default_type on context: http, server, location, location if Specifies whether to use the MIME type specified by the default_type directive for the default value of the Content-Type response header. If you do not want a default Content-Type response header for your Lua request handlers, then turn this directive off. This directive is turned on by default. This directive was first introduced in the v0.9.1 release.