Skip to content

Comments

Add user agent to curl in citrixworkspace#1987

Closed
pmex wants to merge 1 commit intoInstallomator:mainfrom
BonnierNews:add_useragent_to_citrixworkspace
Closed

Add user agent to curl in citrixworkspace#1987
pmex wants to merge 1 commit intoInstallomator:mainfrom
BonnierNews:add_useragent_to_citrixworkspace

Conversation

@pmex
Copy link
Contributor

@pmex pmex commented Oct 28, 2024

No description provided.

@pmex
Copy link
Contributor Author

pmex commented Oct 28, 2024

Citrix seems to require a user-agent since, a curl without it results in the following

<HTML><HEAD>
<TITLE>Access Denied</TITLE>
</HEAD><BODY>
<H1>Access Denied</H1>
 
You don't have permission to access "http&#58;&#47;&#47;www&#46;citrix&#46;com&#47;downloads&#47;workspace&#45;app&#47;mac&#47;workspace&#45;app&#45;for&#45;mac&#45;latest&#46;html&#37;5c" on this server.<P>
Reference&#32;&#35;18&#46;3df01502&#46;1730103208&#46;12908283
<P>https&#58;&#47;&#47;errors&#46;edgesuite&#46;net&#47;18&#46;3df01502&#46;1730103208&#46;12908283</P>
</BODY>
</HTML>

With the header you get the proper html page

TacoDienstag added a commit to apfelwerk/Installomator that referenced this pull request Nov 27, 2024
@acodega
Copy link
Collaborator

acodega commented Dec 6, 2024

Please see conversation in #1948

@pmex
Copy link
Contributor Author

pmex commented Dec 6, 2024

Thanks for pointing out that this was a duplicate. Closing this one in favor of #1948.

@pmex pmex closed this Dec 6, 2024
@pmex pmex deleted the add_useragent_to_citrixworkspace branch January 22, 2025 07:49
TacoDienstag added a commit to apfelwerk/Installomator that referenced this pull request Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants