Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

12
  • 4
    I bet it's because you're sending two requests. Commented Mar 4, 2015 at 16:03
  • 8
    Probably, your browser is trying to load /favicon.ico from your server. Commented Mar 4, 2015 at 16:04
  • 6
    Use your browser developer console to see actual HTTP requests. Commented Mar 4, 2015 at 16:04
  • 1
    Debug each request with console.log('request received:', request, response); Commented Mar 4, 2015 at 16:06
  • 3
    @gmo it'll be a lot of useless data, something like console.log('request received:', request.url); will be much more useful. Commented Mar 4, 2015 at 16:07