The Wayback Machine - https://web.archive.org/web/20200615074011/https://github.com/topics/middleware
Skip to content
#

middleware

Here are 3,042 public repositories matching this topic...

KernelDeimos
KernelDeimos commented Nov 16, 2019

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 a boundary parameter. Setting Content-Type explicitly to multipart/form-data should result in an error (and it does).

How to reproduce

Follow an existing image upload example from

iris
asyslinux
asyslinux commented Dec 28, 2019

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.

ghost
ghost commented Sep 18, 2019

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

allain
allain commented Apr 1, 2020

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

bug
tristaZero
tristaZero commented Apr 23, 2020

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

caritasverein
caritasverein commented Jan 3, 2020

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

IcyLemon
IcyLemon commented Nov 16, 2017

使用的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

thingsboard
TheElectricCo
TheElectricCo commented Feb 18, 2020

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

image

dwhieb
dwhieb commented Aug 30, 2016

As noted in a comment on #97, developers who want to write a Store implementation either need to:

  1. extend their Store from express-session's store.js, which typically means requiring express-session as a dependency
  2. 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

transmittable-thread-local
ORESoftware
ORESoftware commented Feb 22, 2020

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.

Curate this topic

Add this topic to your repo

To associate your repository with the middleware topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.