Skip to content
#

router

Here are 2,524 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.

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
liaodq
liaodq commented Sep 3, 2019

doInterceptions方法里有对Warehouse.interceptors的判断

if (null != Warehouse.interceptors && Warehouse.interceptors.size() > 0){
      checkInterceptorsInitStatus();
      ......
}

Warehouse.interceptors是在InterceptorServiceImpl#init里新线程里完成添加的

         IInterceptor iInterceptor = interceptorClass.getConstructor().newInstance();
         iInterceptor.init(context);
bug
rogpeppe
rogpeppe commented Nov 16, 2015

The documentation does not make it clear whether
paths of the form:

/prefix:foo

are allowed. These are currently supported by httprouter,
but don't seem quite in the spirit of its simple specification
(you can't have statically defined suffixes for a path element,
so why should you be allowed a statically defined prefix?)

This form:

/prefix*foo

is similarly not specified but i

bug
xavierfoucrier
xavierfoucrier commented Apr 6, 2020

For those who are not comfortable with the current documentation, we are working on a second version with a better structuration and simpler/clearer code+examples.

Roadmap:

  • new navigation tree
  • write / review getstarted section
  • write / review advanced section
  • write / review plugins section
  • fix css stuff (header clickable zone, links highlight, nav, ..
vector
gpism
gpism commented Nov 7, 2019

Hi This project is amazing and I want to contribute but I noticed there is no developer documentation also this project doesn't not seem to use platformIO or Arduino ...so no clue how to start ....is possible to provide documentation ...like which module does what and how compile /build .........even better if its possible to convert to platformio project

animamundi
animamundi commented Aug 29, 2017
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

Improve this page

Add a description, image, and links to the router 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 router topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.