Bug 56992 - Image.Source does not render on HTTP 301
Summary: Image.Source does not render on HTTP 301
Status: RESOLVED NORESPONSE
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2017-05-31 06:49 UTC by Babak Naffas
Modified: 2017-08-21 20:14 UTC (History)
2 users (show)

Tags: bb
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description Babak Naffas 2017-05-31 06:49:28 UTC
I have an Image in my Listview. When I assign the Source property of the image (whether via Binding or manually in code), if the URI for the image results in an HTTP 301 or HTTP 302 response, the image will not render. The image will only render on an HTTP 200 response.

My original source was https://placehold.it/50x50. The image control would not show with this source.
I changed the source to https://placeholdit.imgix.net/~text?txtsize=6&txt=50%C3%9750&w=50&h=50 and the image rendered.
Comment 1 Jon Douglas [MSFT] 2017-06-23 20:02:58 UTC
(In reply to Babak Naffas from comment #0)
> I have an Image in my Listview. When I assign the Source property of the
> image (whether via Binding or manually in code), if the URI for the image
> results in an HTTP 301 or HTTP 302 response, the image will not render. The
> image will only render on an HTTP 200 response.
> 
> My original source was https://placehold.it/50x50. The image control would
> not show with this source.
> I changed the source to
> https://placeholdit.imgix.net/~text?txtsize=6&txt=50%C3%9750&w=50&h=50 and
> the image rendered.

Are you using Xamarin.Forms? It sounds like you are based on this description. If so, we will want to re-categorize this bug.

Please attach a reproduction to the bug by starting with a clean Xamarin.Android project and adding just the code necessary to demonstrate the issue.

Thus setting status to NEEDINFO until we can identify a reproduction and the category of this bug.
Comment 2 Jon Douglas [MSFT] 2017-08-21 20:14:39 UTC
Because we have not received a reply to our request for more information we are closing this issue. If you are still encountering this issue, please reopen the ticket with the requested information. Thanks!