pray-routing.1.3.0.source-code.reference.conf Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spray-routing Show documentation
Show all versions of spray-routing Show documentation
A suite of lightweight Scala libraries for building and consuming RESTful web services on top of Akka
The newest version!
#######################################
# spray-routing Reference Config File #
#######################################
# This is the reference config file that contains all the default settings.
# Make your edits/overrides in your application.conf.
spray.routing {
# Enables/disables the returning of more detailed error messages to the
# client in the error response
# Should be disabled for browser-facing APIs due to the risk of XSS attacks
# and (probably) enabled for internal or non-browser APIs
# (Note that spray will always produce log messages containing the full error details)
verbose-error-messages = off
# the minimal file size triggering file content streaming
# set to zero to disable automatic file-chunking in the FileAndResourceDirectives
file-chunking-threshold-size = 128k
# the size of an individual chunk when streaming file content
file-chunking-chunk-size = 128k
# Enables/disables ETag and `If-Modified-Since` support for FileAndResourceDirectives
file-get-conditional = on
# Enables/disables the rendering of the "rendered by" footer in directory listings
render-vanity-footer = yes
# a config section holding plain-text user/password entries
# for the default FromConfigUserPassAuthenticator
users {
# bob = secret
}
# the maximum size between two requested ranges.
# Ranges with less space in between will be coalesced.
range-coalescing-threshold = 80
# the maximum number of allowed ranges per request.
# Requests with more ranges will be rejected due to DOS suspicion.
range-count-limit = 16
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy