web-framework
Here are 613 public repositories matching this topic...
There are many pages in the docs that have different overlapping information about error handlers:
- https://flask.palletsprojects.com/en/1.1.x/errorhandling/#error-handlers
- https://flask.palletsprojects.com/en/1.1.x/blueprints/#error-handlers
- https://flask.palletsprojects.com/en/1.1.x/patterns/errorpages/
- https://flask.palletsprojects.com/en/1.1.x/patterns/apierrors/
These need to
Update API docs
Looks like the API documentation has not been regenerated since 3.0.2, as the maxBodySize value typo is still present here:
Issue Description
I updated echo in one of my projects. After that my static configuration didn't work without changes. Before it automatically resolved to an existing index.html. After that I had to point to that file.
My code was something like that:
docsGroup := e.Group("")
docsGroup.Static("/", "docs")
In docs is an index.html which was delivered when no path was given
Documentation has problems about way to start Long-polling by Phoenix Channels JavaScript client
Hello!
Problem
I tried to use long polling by js client, and read the documentation.
I found 2 problems about docs.
- In doc about Socket object, It says that if user want to use long polling user should give
opts.transportas Socket constructor parameter, and type of transport is string. But it se
I noticed an undocumented behavior with listeners, where some of them run in reverse order of registration
- What is the rationale for that?
- Can this be added to the docs?
Additional context
Relevant lines of code from https://github.com/huge-success/sanic/blob/master/sanic/app.py#L1356
# -------------------------------------------- #
# Register start/stop eProblem
Lacking the following implementation:
impl<T> Threaded for T
where
T: Agent<Reach = Private>,Implementation Tips
- Implementing
Threadedis a g
When running example in homepage https://revel.github.io/ using go 1.13.5:
go get github.com/revel/cmd/revel
git clone https://github.com/revel/examples $GOPATH/src/github.com/revel/examples
revel run github.com/revel/examples/chatI only get a crash on Windows and Debian 10:
Windows:
C:▶revel /v run github.com/revel/examples/chat
INFO 17:50:49 revel.go:94: Impo
In #10199 we added symbolic methods to TypeMap, but as signaled by @NthPortal we should avoid this.
Triggered by:
I'm a bit late to the party here, but multiple (non-implicit) parameters to a symbolic/infix method are highly discouraged, and planned to be deprecated. See scala/scala-dev#496 and lampepfl/dotty#4311 (comment).
_Originally posted by @n
Whenever I try to install the sinatra gem, the first install hangs during:
"Installing ri documentation for sinatra-2.0.7"
I manually interrupt it, then do it again, and then it works.
I have no idea what causes it, but all the other gems and their ri
documentation do not have this issue.
I believe that there must be something special for sinatra documentation
done that causes this b
I tried to find this in the documentation and examples, but there's no example of a manual request being made, only <form action="/login" method="post">
I tried:
let form = this.document.getElementById( 'loginForm' );
var formData = new FormData( form );
let res = await fetch( '/', {
method: 'POST',
body: formData,
header: { 'Content-Type': 'multipart/form-data' },
})
This is a:
-
enhancement
-
CakePHP Version: any (collections).
Since you have already used psalm and it's templates feature, I would like to suggest you to type all the collections library
I don't think the code example in the manual that was using a LongParam and IntParam in the 1.3.x branch here, but has been updated to a OptionalLong and OptionalInt in the 2.0 branch here w
Subsystem
Kotlin multiplatform library: ktor-client-logging:1.3.0
Is your feature request related to a problem? Please describe.
Problem: not able to filter calls to be logged. All calls are being logged by default.
Describe the solution you'd like
Add a filter option in Logging configuration block (this solution is available on Android in CallLogging feature, but it is absent
See http://blog.erlang.org/ssl-logging-in-otp-22/ for a full description.
One could enable debug logging in Cowboy to see all the packets transmitted and what Cowboy thinks of them, something like that. Could make some client issues obvious in particular.
Describe the feature
I'd like to be able to document multiple different APIs separately in the same Javalin application. I.e. have 3 handlers go to doc A, and have another 3 handlers go to doc B.
Additional context
The purpose of this feature request is API versioning; I'd like to version my API, and have separate docs for each version.
When we remove the page on scaffolds (docs/narr/scaffolding.rst), we need to set up a redirect to in RTD Admin > Redirects for the master branch, latest, and stable.docs/narr/cookiecutters.rst in the docs.pylonsproject.org nginx configuration
- master
- latest
- stable
Example for master:
lo-
Updated
May 29, 2020 - Go
It wasn't clear to me from this guide:
How to set an arbitrary http response status code like "500" maybe it could be improved upon? Thanks!
Documentation
Hi,
Kite is looking like a great framework but the documentation could do with a little love, once I am finished my current work I will try and create a walk through for setting up Kite and Kontrol with Docker. Should be next week sometime.
import {Middleware, ExpressErrorMiddlewareInterface} from "routing-controllers";
@Middleware({ type: "after" })
export class CustomErrorHandler implements ExpressErrorMiddlewareInterface {
error(error: any, request: any, response: any, next: (err: any) => any) {
console.log("do something...");
next();
}
}This example code from the docume
- Mojolicious version: 8.29
- Perl version: 5.26.1
- Operating system: High Sierra
When testing a JSON value like { "fruit": "lemon" } with ...->json_is('/animal', 'bat') we correctly get a failure, but the diagnostic message complains that undef doesn't equal 'bat' which isn't quite right. The value isn't even undef, it doesn't exist. Same applies to json_like.
Description
Specs are failing in Travis for creating a Redirector using from_controller_action. These tests passed on my local MacBook Pro.
https://github.com/amberframework/amber/blob/master/spec/amber/controller/redirect_spec.cr#L51
Look into fixing them.
Currently we have 3 (three!!!!) places for documentation:
- wiki
- READMEs
- API docs (produced from doc-src)
my proposal is to move everything to wiki. It will be pretty easy for READMEs as they written with markdown too. moving API docs will require much more work, but CB API is not so complicated and everything generated from code can be written once in markdown and changed on demand.
cos a
According to the HTTP/2 spec, all headers should be lowercase.
Currently crystal handles checking against lowercase vs uppercase, and dashes vs underscores, so CONTENT_TYPE is the same as content-type. We could safely lowercase, and dasherize for convention any place that we mention a header key directly.
This also makes me curiou
Issue Description
I would love to see (or write) a guide on how to migrate a WIP project from SailsJS (since it's based on that) to TrailsJS. If possible.
Environment
- node version: 6.X
- trails version: latest
- operating system: Ubuntu 16.04 64 bits
HI,
tried to install frappe-bench and followed the tutorial.
At the above step,
https://frappe.io/docs/user/en/tutorial/users-and-records#42-creating-records
I've found no way to add and make "Library Management" Module icons show on the desk.
Looking in the ERPNext source, I've found another way to add icons, creating a json file desk_page/module.json
Which is the right way to sho
Improve this page
Add a description, image, and links to the web-framework topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the web-framework topic, visit your repo's landing page and select "manage topics."
We should discuss how to best support a library author providing translations for their library.