Questions tagged [server-response]

98 questions
0
votes
0 answers

Saving a token to be reused after a loop

I am working on a project where I can only return 30 results at a time from a server. I am using a loop in my program to change a parameter of the connection and return the next set after each loop by using the GetWorkers() command below. I need to…
0
votes
1 answer

Server takes too much time to send a response - timeout error in ASP.NET Web API

I've created a Web API application that's working on server. On the client side, for testing I have android application. It is pretty simple. User enters username and password and sends them with two more strings DeviceId and DeviceName. The user…
nemo_87
  • 4,523
  • 16
  • 56
  • 102
0
votes
1 answer

What is the most efficient way to text URLs for 404 errors

I'm interested to learn what is the best / leanest way to test URLs for server response codes such as 404s. I am currently using something very similar to what can be found in the comments of the php manual for get_headers:
0
votes
1 answer

Unable to fetch Price

I am trying to fetch price from a online store. Here i am using this code.. loadHTML($html); $contents =…
0
votes
0 answers

A part of a page dynamically changed by a script. Still 304 'not modified' status?

What if I have http://example.com/test.php And that page includes footer.php which gets changed either logically or physically on the server? Still 304 response?
blackdad
  • 1,343
  • 1
  • 10
  • 13
0
votes
1 answer

Tuning SQL for better server repsonse time

My SQL script scans ~7000 records and retrieves 100 of them randomly, also pulls correlative data from an additional table (via SQL JOIN). My server response time is extremely slow using this code (>7 seconds). ROUND(AVG(r.rank),0) AS avrank, …
rhill45
  • 559
  • 10
  • 35
0
votes
2 answers

My AJAX call is not returning anything but isn't failing either

I have this html:
and this javascript: var xmlHttp; document.body.onclick = function(){ var username =…
Tsundoku
  • 9,104
  • 29
  • 93
  • 127
0
votes
1 answer

Check the server response code, then export to csv

I'm using the below code to check server response codes. Instead of manually entering the URLs, I'd like python to check a CSV (data.csv) and then export the results to a new CSV (new_data.csv). Does anyone know how to write this? Thanks for your…
Sam Perry
  • 2,554
  • 3
  • 28
  • 29
0
votes
1 answer

how do I update a collection in backbone.js from a post response?

I'm writing basically a folder browser in JavaScript, that starts at some folder on my server and every time you click a file I want the server to send me back a list of all the folders in that directory... but the problem is I can't seem to figure…
AlexW.H.B.
  • 1,781
  • 3
  • 25
  • 50
0
votes
1 answer

How to have multiple IP address mapped to a single server's files

I have a dedicated linux hosting machine from godaddy. I also have purchased two website domains. Say it is abc.com and xyz.com. xyz.com is already setup to the server. I want to get abc.com's traffic to a subfolder of xyz.com but the links must…
footy
  • 5,803
  • 13
  • 48
  • 96
0
votes
2 answers

Create Android layout with buttons from server response

I checked around and and I can never quite find something that helps me with what I am trying to accomplish. In my Android app I want to be able to make a request to the server for some data, when that data is returned I want to populate a…
0
votes
1 answer

How to determine programmatically via C# whether a site requires authentication or not?

I am on a quest to pro-grammatically determine via C# whether a website such as http://about.com or a page such as http://mail.google.com requires authentication or not? I was thinking on the lines of server responses 400, 401, 402 etc but I am…
0
votes
3 answers

How to export lots of wordpress posts to text document?

I need to export all posts from certain category (that contains thousands posts) to a text document. And then someone will make corrections and changes in this document, and after this I have to enter all the updated posts to WP. So I decided that…
Shimon S
  • 4,048
  • 2
  • 29
  • 34
0
votes
2 answers

Analyse the Server response while testing an Application manually

I have an Web application which I have to measure the Performance from the Server response of that application while testing it manually in several machine. How can I do it. Do we have any tool to measure the Server Response time of a Web…
Udhay
  • 71
  • 4
  • 15
0
votes
2 answers

spdy.node.js: I'm just gettin' 324 (ERR_EMPTY_RESPONSE)

I just wanted to try out SPDY using the node package "node-spdy". My javascript: EDIT: Now the script includes informations about certificates. I took them from the twitlog test application. var spdy = require('spdy'), fs = require('fs'); var…
fridojet
  • 1,276
  • 3
  • 15
  • 29