middleware
Here are 3,042 public repositories matching this topic...
Description of the bug/issue
Just a few broken links I found while reading through the documentation.
I found 3 broken links in documentation for babel-plugin-redux-saga.
From page 6. Troubleshooting, click on the link text
- "Docs are available here"
- Naviga
Dear developers. I write my custom specific web server for work with specific archive files, compression, encryption, etc. And i want to publish my web server under BSD-2-Clause license.
In my project i use Iris and Iris logger as basement.
I'm not going to use the name of your project to promote my project.
Can I publish my project under the BSD-2-Clause license?
Thanks.
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
Describe the bug
When sanitizing the r.URL.Path by making is absolute it introduces a windows path of D:\... on the requested path, which fails.
Versions
go version 1.14
version of mux in our go.mod is listed as 1.7.4
…
Steps to Reproduce
Use the spa example on a windows box and fetch any file
Expected behavior
To have the file delivered
Hi guys, welcome!
Background
ShardingSphere 5.x will present itself with new valuable features and simple configuration API to our community.
We will provide many of build-in sharding algorithms to users, which means uses can choose a proper one from sharding-algorithm selections before implementing the interface of the sharding algorithm themselves.
**Therefore we call for
The Go documentation states the following on http.Request.RemoteAddr:
The HTTP server in this package sets RemoteAddr to an "IP:port" address before invoking a handler.
Therefore, you could expect that a code like this is correct:
package main
import (
"fmt"
"net"
"net/http"
"github.com/go-chi/chi"
"github.com/go-chi/chi/middleware"
)
func main() {
r-
Updated
Jun 12, 2020 - TypeScript
The example code does not work as intended.
Steps to reproduce
Use the example code:
var express = require('express');
var proxy = require('http-proxy-middleware');
var app = express();
app.use(
'/api',
proxy({ target: 'http://www.example.org', changeOrigin: true })
);
app.listen(3000);
Expected behavior
This should create a proxy for /api to `http
使用的elastic-job版本:2.1.1。
我的一个定时任务为通过 http 方式(使用 OKHttp 发送 http 请求)执行某个方法(例如:http://ip:port/myapp/synFundData)。
当调用上述接口时如果服务器返回504(后台执行时间太长导致超时),请问该定时任务是否会自动重试?因为我从 Nginx 的日志中发现:每隔30秒Nginx 会收到一个同样的http请求,且返回的状态码都是 504,日志如下:
...remote_user=- [16/Nov/2017:08:40:01 +0800] request="GET /xxx/synFundData HTTP/1.1" status=504
...remote_user=- [16/Nov/2017:08:40:31 +0800] request="GET /xxx/synFun
The official Widgets Development Guide only contains the most basic widget types as example.
There is no functional example for a Flot chart in there right now. Or is it?
Since this is one of the most useful and probably used (at leat to me) widgets it would be very helpful to extend that docum
Expected Behavior / New Feature
As stated in the ReadMe, Ocelot depends on .net standard 2.0 and should be usable with full .net framework
Actual Behavior / Motivation for New Feature
Nuget states that Ocelot 14.0.9 depends on .net core 3.1
As noted in a comment on #97, developers who want to write a Store implementation either need to:
- extend their Store from express-session's store.js, which typically means requiring express-session as a dependency
- implement their own version of the functionality in store.js, session.js, and cookie.js (or copy the files from express-session)
This is because express-session requires the follo
Make it clear the config.json is used first with the optional environment-specific config merged in. Also, fix the prod[uction].json typo.
Since a lot of the categories have many libraries listed, it would be helpful to highlight the top 2-4 "must use" libraries in each category, if appropriate.
I should figure out how to format this, and which ones I want to highlight.
-
Updated
Jun 1, 2020 - JavaScript
I find it a bit awkward that for @babel/preset-env to use a .browserslistrc file (which is @babel/preset-env's default behavior when no targets is passed), I have to remember to pass targets: false: https://github.com/neutrinojs/neutrino/blob/master/packages/web/index.js#L116-L128
A the very least, I propose we look for a browserslist file, and if one is present, output a notice the con
-
Updated
May 26, 2020 - JavaScript
-
Updated
Jun 8, 2020 - Go
developer guide: development note for Middleware Engineering
- why need Middleware Engineering
- how to do it
Middleware Engineering
🔥 , like multi-version Java full support(support low version Java and full functions of high version Java), is boring but essential for middleware!🤣 https://github.com/alibaba/transmittable-thread-local/releases/tag/v2.5.0
Add a config option to specify host:post.
Currently one can only set the port via config option Port just for krakend to use this value as a string.
func NewServer(cfg config.ServiceConfig, handler http.Handler) *http.Server {
return &http.Server{
Addr: fmt.Sprintf(":%d", cfg.Port),
...
}
}
- Instead of holding implementations for each logging, tracing, metrics providers, establish interfaces.
- Be clear about it in docs
- Store implementations in... nested go modules? Separate project? To agree.
-
Updated
Jun 12, 2020 - Ruby
-
Updated
Mar 2, 2020 - JavaScript
Given the docs (the readme.md file) it's unclear what order the middleware should be registered. Here is what I have:
const webpack = require('webpack');
const WebpackDashboardPlugin = require('webpack-dashboard/plugin');
const config = require('./webpack.config.dev');
/* eslint-enable import/no-extraneous-dependencies, global-require */
const compiler = webpack(config);Improve this page
Add a description, image, and links to the middleware topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the middleware topic, visit your repo's landing page and select "manage topics."



Description
Using the fetch API from WHATWG in Google Chrome, an image upload does not have Content-Type multipart/form-data. Instead, the content type is set to the MIME type (ex:
image/jpeg) with aboundaryparameter. Setting Content-Type explicitly tomultipart/form-datashould result in an error (and it does).How to reproduce
Follow an existing image upload example from