Forum Moderators: open
If the site requires two versions rather than using the same URLs for mobile and desktop and adjusting layout with CSS you should submit two separate sitemaps to tell Google which URLs are for mobile users.
To put it slightly differently: A 302 isn't Google. It's you. Only you can figure out whether it is intentional or not. There are two parts to the question: Do you want the request to be redirected (probably yes, since you say there are separate URLs for desktop and mobile), and do you want the said redirect to be temporary or permanent?
I didn't make the difference between desktop and mobile versions clear. Actually, only their URL is different, content is not too much different.
Actually, only their URL is different, content is not too much different.This is ambiguous, because “content” means two different things. On the one hand is the words and pictures--the material a human user sees on their screen. But on the other hand is the page layout, styling, all the details of html and css.
If the difference in content is that small why not make it suitable for both by using a full responsive web design so the CONTENT can appear in either viewport size?
The question about content was whether the mobile URLs used a separate CSS file to resize the content, not whether the content was different. When the content is the same on both desktop and mobile, the majority of sites just create a responsive layout and use one URL to serve both desktop and mobile sites.
This is ambiguous, because “content” means two different things. On the one hand is the words and pictures--the material a human user sees on their screen. But on the other hand is the page layout, styling, all the details of html and css.
You can keep two separate versions, but then you need two sitemaps. Both sitemaps should be found in the main directory and linked in your robots.txt file.