Comments (2)
The production-mode middleware (weberror.errormiddleware.ErrorMiddleware
) will be replaced with one capable of INI-configurable code-based internal redirects. Additionally, it will log using the standard Python logging infrastructure.
from webcore.
Temporarily, you can add the following to your INI file to add status code-based redirects to an existing application:
[app:main]
…
filter-with = redirects
[filter:redirects]
use = egg:Paste#errordocument
404 = /handler/404
500 = /handler/500
You can specify whatever path you wish. The filter-with
line should be added to your app:main
section.
from webcore.
Related Issues (20)
- Extract WebAssets integration extension into own package. HOT 1
- Complete coverage for base extension breadcrumb list. HOT 1
- Serialization extension. HOT 1
- Transaction management extension. HOT 1
- Complete tests for the static application. HOT 1
- Add "trace" logging level prior to configuration.
- Add ability for extensions to exclude each-other.
- HTTPException instances caught fail to preserve important response headers. HOT 1
- Annotation extension support for use of default value in the event of casting failure.
- Provide an executor to execute futures after response streaming. HOT 1
- Document citation.
- Adapt to verboten direct execution of static methods.
- Misspelled string HOT 1
- Improve usefulness of typecasting failures. HOT 1
- Local value referenced outside of scope. HOT 1
- During initial creation of the placeholder response, clear the content type. HOT 2
- Dispatcher incorrectly handles trailing slashes
- Support the return of Path values for static file delivery.
- Dispatch issue during migration from object to resource dispatchers. HOT 1
- Ensure endpoint arguments are decoded prior to passing.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webcore.