Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pike pike
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 104
    • Issues 104
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pikelang
  • pikepike
  • Issues
  • #2563
Closed
Open
Issue created Nov 26, 2001 by Peter Bortas@zinoOwner

Protocols.HTTP.Query()->sync_request() returns empty object

Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2563

Reported by Henrik Wallin, Roxen hedda@roxen.com

Pike v7.3 release 12 running Hilfe v2.0 (Incremental Pike Frontend)
> object con = Protocols.HTTP.Query();
Result: Query()
> object q=con->sync_request("www.avanza.se", 80, "GET /nyheteranalyser/nyheteranalyser.cgi?page=  HTTP/1.0", (["user-agent" : "Mozilla/4.0 compatible (Pike HTTP client)", "host" : "www.avanza.se" ]), 0);
Result: Query()
> q->ok;
Result: 0

Pike v7.2 release 229 running Hilfe v2.0 (Incremental Pike Frontend)
> object con = Protocols.HTTP.Query();
Result: Query()
> object q=con->sync_request("www.avanza.se", 80, "GET /nyheteranalyser/nyheteranalyser.cgi?page=  HTTP/1.0", (["user-agent" : "Mozilla/4.0 compatible (Pike HTTP client)", "host" : "www.avanza.se" ]), 0);
Result: Query(200 OK)
Assignee
Assign to
Time tracking